summaryrefslogtreecommitdiffhomepage
path: root/devscripts
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-01-03 19:18:55 +0100
committerPhilipp Hagemeister <[email protected]>2013-01-03 19:18:55 +0100
commit876f1a86af8e312432aeb1df31b3bbe1cbea14f2 (patch)
treee6da720b8046a79ab263c417335296cb2ea79764 /devscripts
parent01951dda7a27d3bd2331f22ded5d33876cf1dad9 (diff)
downloadyoutube-dl-876f1a86af8e312432aeb1df31b3bbe1cbea14f2.tar.gz
youtube-dl-876f1a86af8e312432aeb1df31b3bbe1cbea14f2.zip
Also publish hashsums
Diffstat (limited to 'devscripts')
-rwxr-xr-xdevscripts/release.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/devscripts/release.sh b/devscripts/release.sh
index 0926c4038..4a7a55208 100755
--- a/devscripts/release.sh
+++ b/devscripts/release.sh
@@ -50,10 +50,14 @@ wget "http://jeromelaheurte.net:8142/download/rg3/youtube-dl/youtube-dl.exe?rev=
mkdir -p "update_staging/$version"
mv youtube-dl youtube-dl.exe "update_staging/$version"
mv youtube-dl.tar.gz "update_staging/$version/youtube-dl-$version.tar.gz"
+RELEASE_FILES=youtube-dl youtube-dl.exe youtube-dl-$version.tar.gz
+(cd update_staging/$version/ && md5sum $RELEASE_FILES > MD5SUMS)
+(cd update_staging/$version/ && sha1sum $RELEASE_FILES > SHA1SUMS)
+(cd update_staging/$version/ && sha512sum $RELEASE_FILES > SHA512SUMS)
git checkout HEAD -- youtube-dl youtube-dl.exe
echo "\n### Signing and uploading the new binaries to youtube-dl.org..."
-for f in update_staging/$version/*; do gpg --detach-sig "$f"; done
+for f in $RELEASE_FILES; do gpg --detach-sig "update_staging/$version/$f"; done
scp -r "update_staging/$version" [email protected]:html/downloads/
rm -r update_staging