Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
fix #17
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Apr 7, 2019
1 parent d2d7d62 commit 7a2c459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function menu(){
NEWVERSION=$(git tag | sed 's/\(.*v\)\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2;\3;\4;\1/g' | sort -t';' -k 1,1n -k 2,2n -k 3,3n | tail -n 1 | awk -F';' '{printf "%s%d.%d.%d", $4, $1,$2,($3 + 1) }')
;;
4) printf "Exit................................\n"
exit -1
exit 1
;;
*) clear
printf "Incorrect selection. Try again\n"
Expand Down Expand Up @@ -88,4 +88,4 @@ if [[ "$userok" = "y" ]]; then
fi
echo ${NEWVERSION} > version && git add ${ADD} && git commit -m "$message"&& git tag -a ${NEWVERSION} -m ${NEWVERSION} && git push --tags && git push
fi
echo
echo

0 comments on commit 7a2c459

Please sign in to comment.