read -n is bash-specific
[youtube-dl] / devscripts / release.sh
index 4a7a5520875cf98de0539436c9cf654fc913d5c9..05c9f8bfd317002fefc44aa9c27c44ccf3c1e103 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # IMPORTANT: the following assumptions are made
 # * the GH repo is on the origin remote
@@ -53,7 +53,8 @@ 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)
+(cd update_staging/$version/ && sha256sum $RELEASE_FILES > SHA2-256SUMS)
+(cd update_staging/$version/ && sha512sum $RELEASE_FILES > SHA2-512SUMS)
 git checkout HEAD -- youtube-dl youtube-dl.exe
 
 echo "\n### Signing and uploading the new binaries to youtube-dl.org..."