osmo-release.sh: Set correct version when generating the changelog

Otherwise, while updating osmo-trx 0.2.0->0.3.0, the version printed in
the changelog by gbp dch is 0.2.1

Change-Id: I744adb23b4602e5e47f80a012286578d1e59de88
This commit is contained in:
Pau Espin 2018-03-05 16:52:40 +01:00
parent 4d68fd0955
commit 075299db7c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ fi
echo "Releasing $VERSION -> $NEW_VER..."
if [ "z$LIBVERS" = "z" ]; then
gbp dch --debian-tag='%(version)s' --auto --meta --git-author --multimaint-merge --ignore-branch
gbp dch --debian-tag='%(version)s' --auto --meta --git-author --multimaint-merge --ignore-branch --new-version="$NEW_VER"
else
echo "You should NOT be doing this unless you've read and understood following article:"
echo "https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info"