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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/23112 ) Change subject: osmo-release.sh: support epoch ...................................................................... osmo-release.sh: support epoch Related: OS#5046 Change-Id: I5d9d18d7cc84f185222ee176e6546bb3553a3598 --- M osmo-release.sh 1 file changed, 18 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved diff --git a/osmo-release.sh b/osmo-release.sh index eea17cf..c0b0b4a 100755 --- a/osmo-release.sh +++ b/osmo-release.sh @@ -247,7 +247,24 @@ git add TODO-RELEASE fi -gbp dch --debian-tag='%(version)s' --auto --meta --git-author --multimaint-merge --ignore-branch --new-version="$NEW_VER" +# Add missing epoch (OS#5046) +DEB_VER=$(head -1 debian/changelog | cut -d ' ' -f 2 | sed 's,(,,' | sed 's,),,') +NEW_VER_WITH_EPOCH="$NEW_VER" +case "$DEB_VER" in +*:*) + epoch="$(echo "$DEB_VER" | cut -d: -f1)" + NEW_VER_WITH_EPOCH="$epoch:$NEW_VER" + ;; +esac + +gbp dch \ + --debian-tag='%(version)s' \ + --auto \ + --meta \ + --git-author \ + --multimaint-merge \ + --ignore-branch \ + --new-version="$NEW_VER_WITH_EPOCH" dch -r -m --distribution "unstable" "" git add ${GIT_TOPDIR}/debian/changelog bumpversion --current-version $VERSION $REL --tag --commit --tag-name $NEW_VER --allow-dirty -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/23112 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I5d9d18d7cc84f185222ee176e6546bb3553a3598 Gerrit-Change-Number: 23112 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210226/02e217b0/attachment.htm>