Update script
This commit is contained in:
parent
8eb1609250
commit
66731b540e
1 changed files with 5 additions and 4 deletions
9
makerelease
Executable file → Normal file
9
makerelease
Executable file → Normal file
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue