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

build: Replace mvn with ./mvnw in gitlab CI/CD config

parent f8f3f9d2
Branches
Tags
No related merge requests found
......@@ -57,7 +57,7 @@ deploy-release:
- git reset --hard origin/$RELEASE_BRANCH
- ./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS validate -DremoveSnapshot
- ./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS deploy -DskipTests
- export RELEASE_VERSION=$(mvn --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
- export RELEASE_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
- export RELEASE_TAG="v${RELEASE_VERSION}"
- git add pom.xml
- git commit -m "[ci skip] Set release version ${RELEASE_VERSION}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment