summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrelease1
1 files changed, 1 insertions, 0 deletions
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