Skip to content

Commit eb767d5

Browse files
committed
release-version.sh: remove local deploy option
It is not part of the new workflow, and is one more thing we would have to test and debug. Supporting it is not trivial, so away it goes.
1 parent a9bb401 commit eb767d5

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

release-version.sh

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ IMAGEJ_THIRDPARTY_REPOSITORY=$IMAGEJ_BASE_REPOSITORY/thirdparty
7373

7474
BATCH_MODE=--batch-mode
7575
SKIP_PUSH=
76-
DEPLOY=
7776
TAG=
7877
DEV_VERSION=
7978
EXTRA_ARGS=
@@ -87,7 +86,6 @@ do
8786
--dry-run) DRY_RUN=echo;;
8887
--no-batch-mode) BATCH_MODE=;;
8988
--skip-push) SKIP_PUSH=t;;
90-
--deploy) DEPLOY=t;;
9189
--tag=*)
9290
! git rev-parse --quiet --verify refs/tags/"${1#--*=}" ||
9391
die "Tag ${1#--*=} exists already!"
@@ -215,21 +213,3 @@ then
215213
$DRY_RUN git push "$REMOTE" HEAD $tag
216214
fi ||
217215
exit
218-
219-
# TODO - Evaluate whether to use "mvn release:perform" when doing local deploy.
220-
if test "$DEPLOY"
221-
then
222-
$DRY_RUN git checkout $tag &&
223-
$DRY_RUN mvn $PROFILE \
224-
-DperformRelease \
225-
clean verify &&
226-
$DRY_RUN mvn $PROFILE \
227-
$ALT_REPOSITORY \
228-
-DperformRelease -DupdateReleaseInfo=true \
229-
deploy &&
230-
$DRY_RUN git checkout @{-1}
231-
if test -n "$INVALIDATE_NEXUS"
232-
then
233-
$DRY_RUN maven_helper invalidate-cache "${BASE_GAV%:*}"
234-
fi
235-
fi

0 commit comments

Comments
 (0)