summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/build_libs.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/ci/build_libs.sh b/ci/build_libs.sh
index ab390e1..a4953ea 100644
--- a/ci/build_libs.sh
+++ b/ci/build_libs.sh
@@ -3,7 +3,6 @@
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"}
@@ -35,8 +34,8 @@ 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)
+ # We build higher version possible tag, whatever branch it comes from
+ TAG=$(git tag --sort=version:refname | grep "$NAME-" | tail -1)
echo "--- Building $NAME ($TAG) ---"
git checkout -b build-$TAG $TAG
./autogen.sh $AUTOGEN_OPTIONS