Fix profile name invocation on CI
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user