Skip to content

Commit

Permalink
Fix tag ordering issue in release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jareware committed Apr 13, 2019
1 parent 5eb745b commit 5c1e311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ echo OK

echo -n "Fetching previous tags from GitHub... "
git fetch --tags --quiet
tag_prev="$(git tag | tail -n 1)" # figure out the latest tag
tag_prev="$(git log --tags --simplify-by-decoration --pretty="%D" | grep tag: | cut -d ' ' -f 2 | head -n 1)" # figure out the latest tag (https://stackoverflow.com/a/6900369)
echo OK

echo
Expand Down

0 comments on commit 5c1e311

Please sign in to comment.