[MERGED] libosmocore[master]: osmo-release.sh: Set correct version when generating the cha...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Mar 5 17:27:12 UTC 2018


Harald Welte has submitted this change and it was merged.

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


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I744adb23b4602e5e47f80a012286578d1e59de88
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list