aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatMoul <matmoul@gmail.com>2016-04-10 21:25:50 +0200
committerMatMoul <matmoul@gmail.com>2016-04-10 21:25:50 +0200
commit9c70072e59dc411930635053d956d42cae8473f5 (patch)
treedc3536b63251130abbd5baf7f7a926b2934acdd5
parent180511f67957e9690f7bf28241052557fea2cf27 (diff)
downloadhyperfi-9c70072e59dc411930635053d956d42cae8473f5.tar.lz
hyperfi-9c70072e59dc411930635053d956d42cae8473f5.tar.xz
hyperfi-9c70072e59dc411930635053d956d42cae8473f5.zip
Update makerelease
-rw-r--r--makerelease19
1 files changed, 13 insertions, 6 deletions
diff --git a/makerelease b/makerelease
index 082379f..8ec7e0f 100644
--- a/makerelease
+++ b/makerelease
@@ -54,9 +54,21 @@ if [ ! "$branch" = "master" ]; then
esac
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
case "$choice" in
- n|N )
+ n|N ) exit 1;;
exit 1
;;
esac
@@ -70,11 +82,6 @@ git commit -a -m "New Release : $version"
echo "Push index.html..."
git push
-git checkout master
-echo "Push release..."
-git push
-
-
#Sourceforge :
targetpath=.build/$version