aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-06-05 00:48:33 +0700
committerSergey M․ <dstftw@gmail.com>2016-06-05 00:48:33 +0700
commit39b32571df802ef869db1067454aa654f3f66235 (patch)
tree6fa30158d2444bf7bc2cea20796694c301613a8b /devscripts
parentdb56f281d9c5d57cb2c44a2ea356a9a0a12b3b4d (diff)
downloadyoutube-dl-39b32571df802ef869db1067454aa654f3f66235.zip
youtube-dl-39b32571df802ef869db1067454aa654f3f66235.tar.gz
youtube-dl-39b32571df802ef869db1067454aa654f3f66235.tar.bz2
[devscripts/release.sh] Release to GitHub
Diffstat (limited to 'devscripts')
-rwxr-xr-xdevscripts/release.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/devscripts/release.sh b/devscripts/release.sh
index 1a7b1e0..87e8eda 100755
--- a/devscripts/release.sh
+++ b/devscripts/release.sh
@@ -95,17 +95,16 @@ RELEASE_FILES="youtube-dl youtube-dl.exe youtube-dl-$version.tar.gz"
(cd build/$version/ && sha256sum $RELEASE_FILES > SHA2-256SUMS)
(cd build/$version/ && sha512sum $RELEASE_FILES > SHA2-512SUMS)
-/bin/echo -e "\n### Signing and uploading the new binaries to yt-dl.org ..."
+/bin/echo -e "\n### Signing and uploading the new binaries to GitHub..."
for f in $RELEASE_FILES; do gpg --passphrase-repeat 5 --detach-sig "build/$version/$f"; done
-echo 'TODO: upload on GitHub'
-exit 1
+ROOT=$(pwd)
+python devscripts/create-github-release.py $version "$ROOT/build/$version"
ssh ytdl@yt-dl.org "sh html/update_latest.sh $version"
/bin/echo -e "\n### Now switching to gh-pages..."
git clone --branch gh-pages --single-branch . build/gh-pages
-ROOT=$(pwd)
(
set -e
ORIGIN_URL=$(git config --get remote.origin.url)