Review at  https://gerrit.osmocom.org/7094

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
---
M osmo-release.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/94/7094/1

diff --git a/osmo-release.sh b/osmo-release.sh
index ff82e4c..ed40d0b 100755
--- a/osmo-release.sh
+++ b/osmo-release.sh
@@ -27,7 +27,7 @@
 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";

-- 
To view, visit https://gerrit.osmocom.org/7094
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I744adb23b4602e5e47f80a012286578d1e59de88
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de>

Reply via email to