aboutsummaryrefslogtreecommitdiffstats
path: root/makerelease
diff options
context:
space:
mode:
Diffstat (limited to 'makerelease')
-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