Skip to content

Commit

Permalink
Fix regex flag in grep
Browse files Browse the repository at this point in the history
  • Loading branch information
jleight committed Aug 16, 2024
1 parent fbd11d0 commit 71d5116
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 @@ -24,7 +24,7 @@ sort_versions() {

list_github_tags() {
git ls-remote --tags --refs "$GH_REPO" |
grep -o 'refs/tags/v\d.*' |
grep -Eo 'refs/tags/v\d.*' |
cut -d/ -f3- |
sed 's/^v//'
}
Expand Down

0 comments on commit 71d5116

Please sign in to comment.