From 923b26af43f187002b5e5eed4373a55af253a6b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Fo=C5=99t?= Date: Wed, 21 Aug 2024 17:45:42 +0200 Subject: [PATCH] fix: filter tags related to app releases (#25) --- lib/utils.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/utils.bash b/lib/utils.bash index 6a9cb3a..82b8485 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -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() {