From 54119a26c6faf54f1f1f6d6647a34b0b2239d470 Mon Sep 17 00:00:00 2001 From: Simon Steinbeiss Date: Wed, 10 Mar 2021 15:40:19 +0100 Subject: 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*" --- ci/build_libs.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ci') 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 -- cgit v1.2.1