diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-12-19 19:42:10 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-12-19 21:15:12 (EST) |
commit | ee8ee2d422a392823fd710d6c2428111252eb399 (patch) | |
tree | 5d63e9e6139308db0e31914ffc6318ec5bba4b54 /release | |
parent | df84957b77fc4043e7dc1483753d5527b5cdd21b (diff) |
release: Work around Git tag name limitation
Fixes:
fatal: 'lzip/1.22~rc3-1' is not a valid tag name.
Diffstat (limited to 'release')
-rwxr-xr-x | release | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |