Fixed a bug in the mkrelease script, introduced by changing the naming convention for development tags from X.Y.Z-dev to X.Y.Z-dev0 (etc.).

- Legacy-Id: 7873
This commit is contained in:
Henrik Levkowetz 2014-06-09 21:46:23 +00:00
parent 9da48c14a4
commit fa55bd608c

View file

@ -190,7 +190,7 @@ note "Verifying there's no uncommitted changes..."
$do svn st | grep "^[AMGRD] " && die "There seems to be uncommitted changes in this working copy"
note "\nUpdating the version info in $VERFILE and making sure'\$Rev\$' is Ok"
$do sed -i -r -e "/^__version__/s/\"[.0-9]+(-dev)?\"/\"$VER\"/" \
$do sed -i -r -e "/^__version__/s/\"[.0-9]+(-dev[0-9]*)?\"/\"$VER\"/" \
-e "/^__rev__/s/\".*\"/\"\$Rev:\$\"/" \
$VERFILE