Skip to content

Commit

Permalink
Avoid forked maven lifecycle due to package + deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <[email protected]>
  • Loading branch information
joakime committed Oct 2, 2020
1 parent 116d1d3 commit 3cabe81
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/release-jetty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ if proceedyn "Are you sure you want to release using above? (y/N)" n; then
# This is equivalent to 'mvn release:perform'
if proceedyn "Build/Deploy from tag $TAG_NAME? (Y/n)" y; then
git checkout $TAG_NAME
mvn clean package deploy \
-Peclipse-release $DEPLOY_OPTS
mvn clean deploy -Peclipse-release $DEPLOY_OPTS
reportMavenTestFailures
git checkout $GIT_BRANCH_ID
fi
Expand Down

0 comments on commit 3cabe81

Please sign in to comment.