Skip to content

Commit

Permalink
Switch to master to make sure you get the latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
JTubex committed Feb 21, 2019
1 parent daf2760 commit a8102be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/git-box
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ if [ $ACTION != 'major' ] && [ $ACTION != 'release' ] && [ $ACTION != 'hotfix'
exit 1;
fi

git checkout master

if git describe > /dev/null 2>&1; then
git fetch --tags > /dev/null 2>&1
OLDTAG=$(git describe --tags --abbrev=0)
Expand Down

0 comments on commit a8102be

Please sign in to comment.