aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-release.sh
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-03-05 16:52:40 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-03-05 16:52:43 +0100
commit075299db7c01a4b068438341caca392fc6b03312 (patch)
tree4e0bce0d135248ef72a1914704bd890e11bc69db /osmo-release.sh
parent4d68fd0955010625cbaa7d19cb9f69b9f44900ab (diff)
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
Diffstat (limited to 'osmo-release.sh')
-rwxr-xr-xosmo-release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/osmo-release.sh b/osmo-release.sh
index ff82e4cb..ed40d0b8 100755
--- a/osmo-release.sh
+++ b/osmo-release.sh
@@ -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"