File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- set -e
3-
4- ./mvnw clean test
5-
6- ./mvnw versions:set -DremoveSnapshot=true
7- ./mvnw versions:commit
8- git add pom.xml
9-
10- RELEASE_VERSION=$( ./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)
11-
12- git commit -m " Release $RELEASE_VERSION "
13- ./mvnw clean deploy -DperformRelease=true -DskipTests
14- git tag ${RELEASE_VERSION}
15-
16- ./mvnw versions:set -DnextSnapshot=true
17- ./mvnw versions:commit
18- git add pom.xml
19-
20- NEW_SNAPSHOT_VERSION=$( ./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)
21- git commit -m " Setup $NEW_SNAPSHOT_VERSION "
22-
23- git push
24- git push --tags
2+ ./mvnw --batch-mode clean release:prepare release:perform && git push && git push --tags
You can’t perform that action at this time.
0 commit comments