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/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/13605
Change subject: nightly-packages: Build latest tag of limesuite
......................................................................
nightly-packages: Build latest tag of limesuite
Like we actually do already on latest-packages.
Change-Id: I5a9e97a7a93c1d2a9983926cd0f5d7255e9666bd
---
M scripts/osmocom-nightly-packages.sh
1 file changed, 13 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/05/13605/1
diff --git a/scripts/osmocom-nightly-packages.sh b/scripts/osmocom-nightly-packages.sh
index 5f97c3d..7501ff5 100755
--- a/scripts/osmocom-nightly-packages.sh
+++ b/scripts/osmocom-nightly-packages.sh
@@ -25,6 +25,17 @@
osc co "$PROJ"
}
+get_last_tag() {
+ project="$1"
+ if [ "$project" = "limesuite" ]; then
+ ver_regexp="^v[0-9]*.[0-9]*.[0-9]*$"
+ else
+ ver_regexp="^[0-9]*.[0-9]*.[0-9]*$"
+ fi
+ VER=$(git -C "${REPO}/${project}" tag -l --sort=v:refname | grep "$ver_regexp" | tail -n 1)
+ echo "${VER}"
+}
+
get_commit_version() {
# return a version based on the commit
local version
@@ -130,10 +141,9 @@
}
checkout_limesuite() {
- TAG="v18.10.0"
-
cd "$REPO"
git clone https://github.com/myriadrf/LimeSuite limesuite
+ TAG="$(get_last_tag limesuite)"
cd limesuite
git checkout "$TAG"
}
@@ -192,7 +202,7 @@
create_osmo_trx_debian8_jessie
- build limesuite no_commit --git-upstream-tree=v18.10.0
+ build limesuite no_commit --git-upstream-tree="$(get_last_tag limesuite)"
build libosmocore
build libosmo-sccp
build libosmo-abis
--
To view, visit https://gerrit.osmocom.org/13605
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a9e97a7a93c1d2a9983926cd0f5d7255e9666bd
Gerrit-Change-Number: 13605
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190411/7f9a8520/attachment.htm>