fixed a stupid mistake

This commit is contained in:
GasparAM 2023-04-09 18:52:49 +04:00
parent 6904794b8b
commit 0640f61199

View file

@ -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"