aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatMoul <matmoul@gmail.com>2015-08-20 22:46:36 +0200
committerMatMoul <matmoul@gmail.com>2015-08-20 22:46:36 +0200
commit66731b540ef1e8ffa8239c6216b351bdd6fa3fa9 (patch)
tree70b93a9ee8158da37ec9a3ca32680727a5feae7f
parent8eb16092500769f05a6c9c336d19e680fe02ab9d (diff)
downloadhyperfi-66731b540ef1e8ffa8239c6216b351bdd6fa3fa9.tar.lz
hyperfi-66731b540ef1e8ffa8239c6216b351bdd6fa3fa9.tar.xz
hyperfi-66731b540ef1e8ffa8239c6216b351bdd6fa3fa9.zip
Update script
-rw-r--r--[-rwxr-xr-x]makerelease9
1 files changed, 5 insertions, 4 deletions
diff --git a/makerelease b/makerelease
index d6525bb..73867d7 100755..100644
--- a/makerelease
+++ b/makerelease
@@ -1,5 +1,10 @@
#!/bin/bash
+prjname=archfi
+version=$(date +"%Y.%m.%d.%H.%M.%S")
+branch=$(git rev-parse --abbrev-ref HEAD)
+
+
ssh -T git@github.com
if [ ! "$?" = "1" ]; then
echo "No Github ssh key loaded exiting..."
@@ -13,10 +18,6 @@ if [ ! "$?" = "1" ]; then
fi
-prjname=archfi
-version=$(date +"%Y.%m.%d.%H.%M.%S")
-branch=$(git rev-parse --abbrev-ref HEAD)
-
clear
read -p "Current branch is $branch. Continue ? (y/N)" choice
case "$choice" in