|
|
|
@ -35,7 +35,8 @@ git add gradle.properties > /dev/null
@@ -35,7 +35,8 @@ git add gradle.properties > /dev/null
|
|
|
|
|
git commit -m"Release v$stageVersion" > /dev/null |
|
|
|
|
git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null |
|
|
|
|
|
|
|
|
|
./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} build publishAllPublicationsToDeploymentRepository |
|
|
|
|
./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} -Porg.gradle.java.installations.fromEnv=JDK17,JDK21 \ |
|
|
|
|
build publishAllPublicationsToDeploymentRepository |
|
|
|
|
|
|
|
|
|
git reset --hard HEAD^ > /dev/null |
|
|
|
|
if [[ $nextVersion != $snapshotVersion ]]; then |
|
|
|
|