Skip to content

Commit

Permalink
Fixed tag sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
whiskeysierra committed Jan 7, 2022
1 parent 79a3d93 commit 2321f49
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 @@ -4,7 +4,7 @@

./mvnw scm:check-local-modification

current=$({ echo 0.0.0; git tag --list --sort=version:refname; } | tail -n1)
current=$({ echo 0.0.0; git tag | tr - \~ | sort -V | tr \~ -; } | tail -n1)
release=$(semver "${current}" -i "$1" --preid RC)
next=$(semver "${release}" -i minor)

Expand Down

0 comments on commit 2321f49

Please sign in to comment.