summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2021-03-10 15:40:19 +0100
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2021-03-10 15:47:52 +0100
commit54119a26c6faf54f1f1f6d6647a34b0b2239d470 (patch)
treedec41906a4e50b3e755c208f48fabe04377e2602
parent328f47cd130b61e2a6f7198e2a17af236649d6a4 (diff)
downloadxfce4-dev-tools-54119a26c6faf54f1f1f6d6647a34b0b2239d470.tar.gz
xfce-build: Always pick the latest stable release
Alternatively we could also pick the latest overall release, but the downside would be that the container could jump back and forth between 4.17 dev and 4.16 maintenance releases. git describe --tags `git rev-list --tags --max-count=1` --match "$NAME*"
-rw-r--r--ci/build_libs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/build_libs.sh b/ci/build_libs.sh
index 59bef9b..ab390e1 100644
--- a/ci/build_libs.sh
+++ b/ci/build_libs.sh
@@ -3,6 +3,7 @@
set -euo pipefail
XFCE_BASE=https://gitlab.xfce.org
+RELEASE=xfce-4.16
: ${libdir:="/usr/lib/x86_64-linux-gnu"}
: ${libexecdir:="/usr/lib/x86_64-linux-gnu"}
@@ -34,6 +35,7 @@ for URL in ${REPOS}; do
cd /git
git clone $URL
cd $NAME
+ git checkout $RELEASE
TAG=$(git describe --abbrev=0 --match "$NAME*" 2>/dev/null)
echo "--- Building $NAME ($TAG) ---"
git checkout -b build-$TAG $TAG