Skip to content

Commit

Permalink
CLOUDP-218697: Fix get latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
josvazg committed Jan 3, 2024
1 parent 64982f6 commit 7b309a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/releaser/cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ get_latest_tag(){
local name=$1

git fetch --tags > /dev/null 2>&1
git describe --tags --abbrev=0 --match="$name-[0-9.]*" "$(git rev-list --tags --max-count=1)"
git tag -l --sort=-refname |grep "$name-[0-9]*\." |head -1
}

release_changed_charts() {
Expand Down

0 comments on commit 7b309a3

Please sign in to comment.