Skip to content

Commit

Permalink
Replace all the tilde "~" with "_" underscore in the tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
alee-ntap committed Dec 8, 2023
1 parent 2f3fb03 commit 549f36e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/gh_release
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ 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/\:/\%}

Expand Down

0 comments on commit 549f36e

Please sign in to comment.