From d3abb74c888720a1d55e084308212a43c6bc6788 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Tue, 9 Jan 2024 13:15:23 +0100 Subject: [PATCH] Use git rev-parse instead of describe We only want the hash. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b867e2b7..cc32f148 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,7 +46,7 @@ metadata_v0: script: - git fetch https://gitlab.com/fdroid/fdroidserver.git $RELEASE_COMMIT_ID - cd tests - - export GITCOMMIT=`git describe` + - export GITCOMMIT=$(git rev-parse HEAD) - git checkout $RELEASE_COMMIT_ID - cd .. - git clone --depth 1 https://gitlab.com/fdroid/fdroiddata.git