mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
fixed awk
This commit is contained in:
parent
0640f61199
commit
cbc504bb60
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}')
|
||||
PVER=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout | awk 'BEGIN {FS="-"} ; {print $1}')
|
||||
DVER=$(echo ${PVER} | awk 'BEGIN {FS="."}; {print $1"."$2"."$3 + 1}')
|
||||
|
||||
./mvnw -B release:prepare -Dtag=$PVER -DreleaseVersion=$PVER -DdevelopmentVersion=$DVER &&
|
||||
./mvnw -B release:prepare -Dtag=$PVER -DreleaseVersion=$PVER -DdevelopmentVersion=$DVER-SNAPSHOT &&
|
||||
./mvnw release:perform -Darguments="-Dmaven.deploy.skip=true"
|
Loading…
Reference in a new issue