File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ BATCH_MODE=--batch-mode
1313SKIP_PUSH=
1414SKIP_DEPLOY=
1515TAG=
16+ DEV_VERSION=
1617EXTRA_ARGS=
1718ALT_REPOSITORY=
1819while test $# -gt 0
2324 --skip-deploy) SKIP_DEPLOY=t;;
2425 --tag=* )
2526 TAG=" -Dtag=${1# --* =} " ;;
27+ --dev-version=* |--development-version=* )
28+ DEV_VERSION=" -DdevelopmentVersion=${1# --* =} " ;;
2629 --extra-arg=* |--extra-args=* )
2730 EXTRA_ARGS=" $EXTRA_ARGS ${1# --* =} " ;;
2831 --alt-repository=imagej-releases)
@@ -65,7 +68,7 @@ die "'master' is not up-to-date"
6568
6669# Prepare new release without pushing (requires the release plugin >= 2.1)
6770mvn $BATCH_MODE release:prepare -DpushChanges=false -Dresume=false $TAG \
68- -DreleaseVersion=" $1 " " -Darguments=${EXTRA_ARGS# } " &&
71+ $DEV_VERSION -DreleaseVersion=" $1 " " -Darguments=${EXTRA_ARGS# } " &&
6972
7073# Squash the two commits on the current branch into one
7174git reset --soft HEAD^^ &&
You can’t perform that action at this time.
0 commit comments