diff --git a/makerelease b/makerelease old mode 100755 new mode 100644 index d6525bb..73867d7 --- 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