Skip to content

Commit 3c3932e

Browse files
committed
release-version: imitate more of maven-release-plugin's behavior
Said plugin sets the property -DupdateReleaseInfo=true so that users can have special-purpose profiles, e.g. to GPG-sign the packages for deployment to Sonatype's OSS repository. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 4e5f0f9 commit 3c3932e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

release-version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ exit
137137
if test -z "$SKIP_DEPLOY"
138138
then
139139
git checkout $tag &&
140-
mvn clean verify &&
141-
mvn $ALT_REPOSITORY -DupdateReleaseInfo=true deploy &&
140+
mvn -DperformRlease clean verify &&
141+
mvn $ALT_REPOSITORY -DperformRelease -DupdateReleaseInfo=true deploy &&
142142
git checkout @{-1}
143143
fi

0 commit comments

Comments
 (0)