mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
fixed a stupid mistake
This commit is contained in:
parent
6904794b8b
commit
0640f61199
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
PVER = $(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout | awk 'BEGIN {FS="-"} ; {print $2}')
|
||||
DVER = echo ${PVER} | awk 'BEGIN {FS="."}; {print $1"."$2"."$3 + 1}'
|
||||
PVER=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout | awk 'BEGIN {FS="-"} ; {print $2}')
|
||||
DVER=$(echo ${PVER} | awk 'BEGIN {FS="."}; {print $1"."$2"."$3 + 1}')
|
||||
|
||||
./mvnw -B release:prepare -Dtag=$PVER -DreleaseVersion=$PVER -DdevelopmentVersion=$DVER &&
|
||||
./mvnw release:perform -Darguments="-Dmaven.deploy.skip=true"
|
Loading…
Reference in a new issue