Skip to content

Commit

Permalink
ci: avoid bash-specific expressions
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Ponge <[email protected]>
  • Loading branch information
jponge committed Sep 20, 2023
1 parent 46f55bc commit c569c3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .build/justfile-for-release
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit c569c3c

Please sign in to comment.