From 90b4cf15d1fd04adda29c5d0b24faab80745b50d Mon Sep 17 00:00:00 2001 From: jo Date: Sat, 19 Nov 2022 18:53:38 +0100 Subject: [PATCH] chore: improve ci job readability --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 177ad5b12..fceb97f94 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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