From 2f3fb0351139b9d828322c372e8183e218059aa7 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 8 Dec 2023 13:41:48 +0100 Subject: [PATCH] Replace epoch colon : with a percent sign % in the tag. --- scripts/gh_release | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/gh_release b/scripts/gh_release index 00647f2..c0b8c9a 100755 --- a/scripts/gh_release +++ b/scripts/gh_release @@ -65,6 +65,8 @@ case "$action" in name="$1"; shift normalized_tag=${tag/\~/\_} + # Replace epoch colon ":" with a percent sign "%" in the tag. + normalized_tag=${normalized_tag/\:/\%} release="$(post "releases" '{ "draft": '"$draft"',