Fix profile name invocation on CI

This commit is contained in:
Stephane Nicoll
2022-03-03 09:06:57 +01:00
parent 27e93e2924
commit 25ec5204ac
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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