From 25ec5204ac1fbe24adffdf3aba63a2154df8c8a7 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 3 Mar 2022 09:06:57 +0100 Subject: [PATCH] Fix profile name invocation on CI --- ci/scripts/build-project.sh | 2 +- ci/scripts/stage.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/scripts/build-project.sh b/ci/scripts/build-project.sh index 2fbb4de..015a964 100755 --- a/ci/scripts/build-project.sh +++ b/ci/scripts/build-project.sh @@ -9,5 +9,5 @@ else echo "Maven cache found." fi pushd git-repo > /dev/null -./mvnw clean deploy -U -Pfull -DaltDeploymentRepository=distribution::default::file://${repository} +./mvnw clean deploy -U -Pspring -DaltDeploymentRepository=distribution::default::file://${repository} popd > /dev/null diff --git a/ci/scripts/stage.sh b/ci/scripts/stage.sh index 0e7adbd..f924bb7 100755 --- a/ci/scripts/stage.sh +++ b/ci/scripts/stage.sh @@ -24,7 +24,7 @@ git add pom.xml > /dev/null git commit -m"Release v$stageVersion" > /dev/null git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null -./mvnw clean deploy -U -Pfull -DaltDeploymentRepository=distribution::default::file://${repository} +./mvnw clean deploy -U -Pspring -DaltDeploymentRepository=distribution::default::file://${repository} git reset --hard HEAD^ > /dev/null if [[ $nextVersion != $snapshotVersion ]]; then