Skip to content

Commit

Permalink
Merge pull request #56 from gardenlinux/fix/tag-epoch-version-correctly
Browse files Browse the repository at this point in the history
Replace epoch colon : with a percent sign % in the tag.
  • Loading branch information
alee-ntap committed Dec 8, 2023
2 parents 3367beb + 549f36e commit 2591dbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/gh_release
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ case "$action" in
commit="$1"; shift
name="$1"; shift

normalized_tag=${tag/\~/\_}
# Replace all the tilde "~" with "_" underscore in the tag.
normalized_tag=${tag//\~/_}
# Replace epoch colon ":" with a percent sign "%" in the tag.
normalized_tag=${normalized_tag/\:/\%}

release="$(post "releases" '{
"draft": '"$draft"',
Expand Down

0 comments on commit 2591dbd

Please sign in to comment.