FAQ | This is a LIVE service | Changelog

Commit 6984a528 authored by Tony Finch's avatar Tony Finch

util: do version number seddery on ReGPG::Login

parent f4cabcbe
...@@ -16,7 +16,9 @@ esac ...@@ -16,7 +16,9 @@ esac
seddery() { seddery() {
local version="$1" local version="$1"
shift shift
perl -pi -e 's{regpg-\d+(\.\d+|\.X)+}{'$version'}' "$@" re='\d+(\.\d+|\.X)+'
perl -pi -e 's{regpg-'$re'}{'$version'}' "$@"
perl -pi -e 's{VERSION = "'$re'"}{'$version'}' "$@"
git commit -a -m $version git commit -a -m $version
} }
...@@ -24,7 +26,7 @@ fgrep $V doc/relnotes.md ...@@ -24,7 +26,7 @@ fgrep $V doc/relnotes.md
make clean all test make clean all test
seddery $V regpg.pl README.md seddery $V regpg.pl README.md lib/ReGPG/Login.pm
git tag -s -m $V $V git tag -s -m $V $V
make release make release
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment