Skip to content
Snippets Groups Projects
Commit b54bea56 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

chore: Fix if statement

parent 30d958cb
No related branches found
No related tags found
1 merge request!35build: New dummy version for testing the pipeline
Pipeline #3226 failed
......@@ -82,10 +82,8 @@ build-for-production:
# If release tag does not already exist, commit and push pom with new version
- git add pom.xml
# Check if there are any changes staged for commit
- |
if ! git diff --cached --quiet; then
- git commit -m "[ci skip] Set release version ${RELEASE_VERSION}"
- git push origin $RELEASE_BRANCH
- if ! git diff --cached --quiet; then
git commit -m "[ci skip] Set release version ${RELEASE_VERSION}"; git push origin $RELEASE_BRANCH
fi
# Build new war file
- echo "Build war file with version '$RELEASE_VERSION'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment