From c569c3c30b501f70a843a200b2e5c689762a0249 Mon Sep 17 00:00:00 2001 From: Julien Ponge Date: Wed, 20 Sep 2023 18:27:57 +0200 Subject: [PATCH] ci: avoid bash-specific expressions Signed-off-by: Julien Ponge --- .build/justfile-for-release | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.build/justfile-for-release b/.build/justfile-for-release index 98c91702e..90b4fa1cd 100644 --- a/.build/justfile-for-release +++ b/.build/justfile-for-release @@ -43,7 +43,7 @@ pre-release: decrypt-secrets init-gpg init-git @echo "Check that the project builds (no tests)" ./mvnw --settings maven-settings.xml --batch-mode --no-transfer-progress clean install -Prelease -DskipTests @echo "Check that the website builds" - [[ ${DEPLOY_WEBSITE} == "true" ]] && cd documentation && pipenv run mkdocs build + [ ${DEPLOY_WEBSITE} = "true" ] && cd documentation && pipenv run mkdocs build # Steps to release release: pre-release @@ -64,8 +64,8 @@ release: pre-release # Steps post-release post-release: @echo "🚀 Post-release steps..." - [[ ${CLEAR_REVAPI} == "true" ]] && just -f .build/justfile-for-release -d . clear-revapi - [[ ${DEPLOY_WEBSITE} == "true" ]] && .build/deploy-site.sh + [ ${CLEAR_REVAPI} = "true" ] && just -f .build/justfile-for-release -d . clear-revapi + [ ${DEPLOY_WEBSITE} = "true" ] && .build/deploy-site.sh # Clear RevAPI justifications clear-revapi: