chore: improve ci job readability

This commit is contained in:
jo 2022-11-19 18:53:38 +01:00 committed by Marge Me
parent 070a039c53
commit 90b4cf15d1
1 changed files with 4 additions and 2 deletions

View File

@ -478,9 +478,11 @@ build_api:
- api
script:
- rm -rf api/tests
- (if [ "$CI_COMMIT_REF_NAME" == "develop" ] || [ "$CI_COMMIT_REF_NAME" == "stable" ]; then ./scripts/set-api-build-metadata.sh $(echo $CI_COMMIT_SHA | cut -c 1-8); fi);
- >
if [ "$CI_COMMIT_REF_NAME" == "develop" ] || [ "$CI_COMMIT_REF_NAME" == "stable" ]; then
./scripts/set-api-build-metadata.sh $(echo $CI_COMMIT_SHA | cut -c 1-8);
fi
- chmod -R 750 api
- echo Done!
only:
- tags@funkwhale/funkwhale
- stable@funkwhale/funkwhale