Update script

This commit is contained in:
MatMoul 2015-08-20 22:46:36 +02:00
parent 8eb1609250
commit 66731b540e

9
makerelease Executable file → Normal file
View file

@ -1,5 +1,10 @@
#!/bin/bash #!/bin/bash
prjname=archfi
version=$(date +"%Y.%m.%d.%H.%M.%S")
branch=$(git rev-parse --abbrev-ref HEAD)
ssh -T git@github.com ssh -T git@github.com
if [ ! "$?" = "1" ]; then if [ ! "$?" = "1" ]; then
echo "No Github ssh key loaded exiting..." echo "No Github ssh key loaded exiting..."
@ -13,10 +18,6 @@ if [ ! "$?" = "1" ]; then
fi fi
prjname=archfi
version=$(date +"%Y.%m.%d.%H.%M.%S")
branch=$(git rev-parse --abbrev-ref HEAD)
clear clear
read -p "Current branch is $branch. Continue ? (y/N)" choice read -p "Current branch is $branch. Continue ? (y/N)" choice
case "$choice" in case "$choice" in