From f05a1c30c15d2ae35c11e241ca039a72eeb7d6ad Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 18 Jan 2018 10:53:54 +0100 Subject: Don't show videos of remote instance after unfollow --- scripts/release.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'scripts') 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 exit -1 fi +branch=$(git symbolic-ref --short -q HEAD) +if [ "$branch" != "develop" ]; then + echo "Need to be on develop branch." + exit -1 +fi + version="v$1" directory_name="peertube-$version" zip_name="peertube-$version.zip" @@ -56,3 +62,10 @@ git push origin --tag github-release release --user chocobozzz --repo peertube --tag "$version" --name "$version" github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name" --file "$zip_name" + +# Update master branch +git checkout master +git rebase develop +git git push origin master +git checkout develop + -- cgit v1.2.3