summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-10 09:09:23 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-10 09:09:23 (EST)
commitd9d39b8f6e68bb6405be5cc63f57568ae7d3c7d6 (patch)
tree40a50903afe1ab5470144188fffe5be00755038c
parent9975eda1133def8df30f96a12482d857732fa6f3 (diff)
release: Work around Git limitationHEADmaster
-rwxr-xr-xrelease2
1 files changed, 1 insertions, 1 deletions
diff --git a/release b/release
index 0b33aca..f51b01a 100755
--- a/release
+++ b/release
@@ -10,5 +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 '~' '.')"
+ver="$(printf '%s' "${ver}" | tr ':' '_')"
git tag "${src}/${ver}" HEAD