Use git rev-parse instead of describe

We only want the hash.
This commit is contained in:
Jochen Sprickerhof 2024-01-09 13:15:23 +01:00
parent 252af24cc3
commit d3abb74c88
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433
1 changed files with 1 additions and 1 deletions

View File

@ -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