Skip to content

Commit

Permalink
bugfix: wrong version order
Browse files Browse the repository at this point in the history
  • Loading branch information
susurri committed Feb 18, 2024
1 parent 7543ca3 commit cc3c448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi

sort_versions() {
sed 'h; s/[+-]/./g; s/.p\([[:digit:]]\)/.z\1/; s/$/.z/; G; s/\n/ /' |
LC_ALL=C sort -t. -k 1,1 -k 2,2n -k 3,3n -k 4,4n -k 5,5n | awk '{print $2}'
LC_ALL=C sort -n -t. -k 1,1 -k 2,2n -k 3,3n -k 4,4n -k 5,5n | awk '{print $2}'
}

list_github_tags() {
Expand Down

0 comments on commit cc3c448

Please sign in to comment.