summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-05-26 12:10:28 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2020-05-26 12:10:28 +0200
commit80bef8a08035f25d45cf5cb50fe92cfc3d2a45b0 (patch)
tree87f22abdb8f669a66c4ce4d572305d9e8ee16b01 /ci
parent9ea41ec6a3becee8605977ca95fce1a9bd3abc1f (diff)
downloadxfce4-dev-tools-80bef8a08035f25d45cf5cb50fe92cfc3d2a45b0.tar.gz
ci/build_libs.sh: create branch to avoid warning
avoid git warning about 'detached HEAD' state by creating a git branch for the build.
Diffstat (limited to 'ci')
-rw-r--r--ci/build_libs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build_libs.sh b/ci/build_libs.sh
index 438c2ae..4098e64 100644
--- a/ci/build_libs.sh
+++ b/ci/build_libs.sh
@@ -23,7 +23,7 @@ for URL in ${REPOS}; do
cd $NAME
TAG=$(git describe --abbrev=0 --match "$NAME*" 2>/dev/null)
echo "--- Building $NAME ($TAG) ---"
- git checkout $TAG
+ git checkout -b build-$TAG $TAG
./autogen.sh $AUTOGEN_OPTIONS
make -j8
make install