projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
db56f28
)
[devscripts/release.sh] Release to GitHub
author
Sergey M․
<dstftw@gmail.com>
Sat, 4 Jun 2016 17:48:33 +0000
(
00:48
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 4 Jun 2016 17:48:33 +0000
(
00:48
+0700)
devscripts/release.sh
patch
|
blob
|
history
diff --git
a/devscripts/release.sh
b/devscripts/release.sh
index 1a7b1e05424f98ee573b5d0424d1cd784422c01e..87e8eda50c1c5e3d0a5e41414fb8b1eba2ee27ee 100755
(executable)
--- 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)
(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
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
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)
(
set -e
ORIGIN_URL=$(git config --get remote.origin.url)