Update makerelease
This commit is contained in:
parent
180511f679
commit
9c70072e59
1 changed files with 13 additions and 6 deletions
19
makerelease
19
makerelease
|
@ -54,9 +54,21 @@ if [ ! "$branch" = "master" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
read -p "Push release ? (Y/n)" choice
|
||||||
|
case "$choice" in
|
||||||
|
n|N ) exit 1;;
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
git checkout master
|
||||||
|
echo "Push release..."
|
||||||
|
git push
|
||||||
|
|
||||||
|
|
||||||
read -p "Publish to server ? (Y/n)" choice
|
read -p "Publish to server ? (Y/n)" choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
n|N )
|
n|N ) exit 1;;
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -70,11 +82,6 @@ git commit -a -m "New Release : $version"
|
||||||
echo "Push index.html..."
|
echo "Push index.html..."
|
||||||
git push
|
git push
|
||||||
|
|
||||||
git checkout master
|
|
||||||
echo "Push release..."
|
|
||||||
git push
|
|
||||||
|
|
||||||
|
|
||||||
#Sourceforge :
|
#Sourceforge :
|
||||||
|
|
||||||
targetpath=.build/$version
|
targetpath=.build/$version
|
||||||
|
|
Loading…
Reference in a new issue