Change in osmo-ci[master]: OBS: nightly: append date to package versions

osmith gerrit-no-reply at lists.osmocom.org
Wed Apr 28 16:11:31 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/23948 )


Change subject: OBS: nightly: append date to package versions
......................................................................

OBS: nightly: append date to package versions

Add date to increase version of Osmocom packages even if commit did not
change.

Fixes: OS#5135
Change-Id: I04d84f39f4093c8edfe21a94c10ecb8d3c7b5b64
---
M scripts/osmocom-nightly-packages.sh
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/48/23948/1

diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh
index 6ae8a26..706d786 100755
--- a/scripts/osmocom-nightly-packages.sh
+++ b/scripts/osmocom-nightly-packages.sh
@@ -138,7 +138,8 @@
   cd "$repodir"
 
   if [ "$changelog" = "commit" ] ; then
-    VER=$(get_commit_version)
+    # Add date to increase version even if commit did not change (OS#5135)
+    VER="$(get_commit_version).$DT"
     osmo_obs_add_depend_deb "./debian/control" "$name" "osmocom-$FEED" "$dependver"
     dch -b -v "$VER" -m "Snapshot build"
     git commit -m "$VER snapshot" debian/

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/23948
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I04d84f39f4093c8edfe21a94c10ecb8d3c7b5b64
Gerrit-Change-Number: 23948
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210428/03f08c55/attachment.htm>


More information about the gerrit-log mailing list