aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-18 10:53:54 +0100
committerChocobozzz <me@florianbigard.com>2018-01-18 15:42:20 +0100
commitf05a1c30c15d2ae35c11e241ca039a72eeb7d6ad (patch)
tree6d90c0de5dd3ad506e738d447e4f396951ed5624 /scripts
parent1174a8479ab9ee47b3305d668fe757435057a298 (diff)
downloadPeerTube-f05a1c30c15d2ae35c11e241ca039a72eeb7d6ad.tar.gz
PeerTube-f05a1c30c15d2ae35c11e241ca039a72eeb7d6ad.tar.zst
PeerTube-f05a1c30c15d2ae35c11e241ca039a72eeb7d6ad.zip
Don't show videos of remote instance after unfollow
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index ec76bb846..667df5a5f 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -21,6 +21,12 @@ if [ -z $GITHUB_TOKEN ]; then
21 exit -1 21 exit -1
22fi 22fi
23 23
24branch=$(git symbolic-ref --short -q HEAD)
25if [ "$branch" != "develop" ]; then
26 echo "Need to be on develop branch."
27 exit -1
28fi
29
24version="v$1" 30version="v$1"
25directory_name="peertube-$version" 31directory_name="peertube-$version"
26zip_name="peertube-$version.zip" 32zip_name="peertube-$version.zip"
@@ -56,3 +62,10 @@ git push origin --tag
56 62
57github-release release --user chocobozzz --repo peertube --tag "$version" --name "$version" 63github-release release --user chocobozzz --repo peertube --tag "$version" --name "$version"
58github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name" --file "$zip_name" 64github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name" --file "$zip_name"
65
66# Update master branch
67git checkout master
68git rebase develop
69git git push origin master
70git checkout develop
71