Commit 54119a26 authored by Simon Steinbeiss's avatar Simon Steinbeiss
Browse files

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*"
parent 328f47cd
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment