From 74bd815cd4e1183b4d033da5047971437aa6db0b Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Wed, 6 Oct 2021 14:23:15 -0500 Subject: [PATCH] Fixing release script --- scripts/release-jetty.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/scripts/release-jetty.sh b/scripts/release-jetty.sh index 5818edbf65b..13604685f73 100755 --- a/scripts/release-jetty.sh +++ b/scripts/release-jetty.sh @@ -88,11 +88,11 @@ if [ ! -d "$ALT_DEPLOY_DIR" ] ; then fi # DEPLOY_OPTS="-Dmaven.test.failure.ignore=true" -DEPLOY_OPTS="-DskipTests -Dtest=None" +DEPLOY_OPTS="-DskipTests" # DEPLOY_OPTS="$DEPLOY_OPTS -DaltDeploymentRepository=intarget::default::file://$ALT_DEPLOY_DIR/" # Uncomment for Java 1.7 -export MAVEN_OPTS="-Xmx1g -XX:MaxPermSize=128m" +export MAVEN_OPTS="-Xmx2g" echo "" echo "-----------------------------------------------" @@ -131,19 +131,13 @@ reportMavenTestFailures() { echo "" if proceedyn "Are you sure you want to release using above? (y/N)" n; then + mvn clean install -pl build-resources echo "" if proceedyn "Update VERSION.txt for $VER_RELEASE? (Y/n)" y; then - # Uncomment alternate JVM for jetty 9.2 builds - # JAVA_HOME_ORIG=$JAVA_HOME - # PATH_ORIG=$PATH - # JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home - # PATH=$JAVA_HOME/bin:$PATH mvn -N -Pupdate-version generate-resources cp VERSION.txt VERSION.txt.backup cat VERSION.txt.backup | sed -e "s/$VER_CURRENT/$VER_RELEASE/" > VERSION.txt rm VERSION.txt.backup - # JAVA_HOME=$JAVA_HOME_ORIG - # PATH=$PATH_ORIG echo "VERIFY the following files (in a different console window) before continuing." echo " VERSION.txt - top section" echo " target/version-tag.txt - for the tag commit message"