Skip to content

Commit

Permalink
Filter tags related to app releases
Browse files Browse the repository at this point in the history
  • Loading branch information
fortmarek committed Aug 21, 2024
1 parent a2fabdd commit 297231a
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 297231a

Please sign in to comment.