1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

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

View File

@ -46,7 +46,7 @@ metadata_v0:
script: script:
- git fetch https://gitlab.com/fdroid/fdroidserver.git $RELEASE_COMMIT_ID - git fetch https://gitlab.com/fdroid/fdroidserver.git $RELEASE_COMMIT_ID
- cd tests - cd tests
- export GITCOMMIT=`git describe` - export GITCOMMIT=$(git rev-parse HEAD)
- git checkout $RELEASE_COMMIT_ID - git checkout $RELEASE_COMMIT_ID
- cd .. - cd ..
- git clone --depth 1 https://gitlab.com/fdroid/fdroiddata.git - git clone --depth 1 https://gitlab.com/fdroid/fdroiddata.git