From ee8ee2d422a392823fd710d6c2428111252eb399 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 19 Dec 2020 19:42:10 -0500 Subject: release: Work around Git tag name limitation Fixes: fatal: 'lzip/1.22~rc3-1' is not a valid tag name. --- (limited to 'release') diff --git a/release b/release index 871cb4a..0b33aca 100755 --- a/release +++ b/release @@ -10,4 +10,5 @@ sed '/^ -- .* /{ s/^\( -- .* \).*$/\1'"$(LC_ALL='POSIX' date \ '+%a, %d %b %Y %H:%M:%S %z')"'/; :l; n; b l; };' changelog >changelog~ mv changelog~ changelog git commit -m "changelog: Release ${src} ${ver}" -- changelog +ver="$(printf '%s' "${ver}" | tr '~' '.')" git tag "${src}/${ver}" HEAD -- cgit v0.9.1