Skip to content

Commit

Permalink
fix: filter tags related to app releases (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
fortmarek authored Aug 21, 2024
1 parent a2fabdd commit 923b26a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ fi
list_github_tags_sorted() {
git -c 'versionsort.suffix=-beta' ls-remote --tags --refs --sort version:refname "$GH_REPO" |
grep -o 'refs/tags/.*' | cut -d/ -f3- |
sed 's/^v//' # NOTE: You might want to adapt this sed to remove non-version strings from tags
sed 's/^v//' | # NOTE: You might want to adapt this sed to remove non-version strings from tags
grep -v "@" # Filtering out tags with @ tied to non-CLI releases
}

list_all_versions_sorted() {
Expand Down

0 comments on commit 923b26a

Please sign in to comment.