diff --git a/.kokoro/stage.sh b/.kokoro/stage.sh
index 1e840a742..5f3853e86 100644
--- a/.kokoro/stage.sh
+++ b/.kokoro/stage.sh
@@ -34,27 +34,34 @@ cp settings.xml "${HOME}"/.m2
gcloud components install app-engine-java --quiet
+echo "Staging a release"
# stage release
./mvnw clean deploy \
--Dorg.slf4j.simpleLogger.showDateTime=true \
--Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
---show-version \
---no-transfer-progress \
---batch-mode \
---settings "${MAVEN_SETTINGS_FILE}" \
--DskipTests=true \
--DperformRelease=true \
--Dgpg.executable=gpg \
--Dgpg.passphrase="${GPG_PASSPHRASE}" \
--Dgpg.homedir="${GPG_HOMEDIR}"
+ -Dorg.slf4j.simpleLogger.showDateTime=true \
+ -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
+ --show-version \
+ --no-transfer-progress \
+ --batch-mode \
+ --settings "${MAVEN_SETTINGS_FILE}" \
+ -DskipTests=true \
+ -DperformRelease=true \
+ -Dgpg.executable=gpg \
+ -Dgpg.passphrase="${GPG_PASSPHRASE}" \
+ -Dgpg.homedir="${GPG_HOMEDIR}"
+
+echo "Successfully finished 'mvn deploy'"
# promote release
if [[ -n "${AUTORELEASE_PR}" ]]; then
+ echo "Promoting the staged repository"
./mvnw nexus-staging:release \
- --batch-mode \
- --settings "${MAVEN_SETTINGS_FILE}" \
- --activate-profiles release-staging-repository \
- -DperformRelease=true
+ --batch-mode \
+ --settings "${MAVEN_SETTINGS_FILE}" \
+ --activate-profiles release-staging-repository \
+ -DperformRelease=true
+ echo "Successfully finished 'mvn nexus-staging:release'"
+else
+ echo "AUTORELEASE_PR environment variable is not set (probably testing something). Not promoting the staged repository."
fi
popd
diff --git a/app-gradle-plugin/build.gradle.kts b/app-gradle-plugin/build.gradle.kts
index 4a180eae4..8bdd02de6 100644
--- a/app-gradle-plugin/build.gradle.kts
+++ b/app-gradle-plugin/build.gradle.kts
@@ -44,7 +44,7 @@ group = "com.google.cloud.tools"
dependencies {
implementation(localGroovy())
implementation(gradleApi())
- api("com.google.cloud.tools:appengine-plugins-core:0.10.1-SNAPSHOT")
+ api("com.google.cloud.tools:appengine-plugins-core:0.10.1") // {x-version-update:appengine-plugins-core:current}
testImplementation("commons-io:commons-io:2.11.0")
testImplementation("junit:junit:4.13.2")
diff --git a/app-maven-plugin/pom.xml b/app-maven-plugin/pom.xml
index 2d4d6704e..36c1b698f 100644
--- a/app-maven-plugin/pom.xml
+++ b/app-maven-plugin/pom.xml
@@ -4,13 +4,50 @@
com.google.cloud.tools
appengine-maven-plugin
- 2.5.1-SNAPSHOT
+ 2.5.1
maven-plugin
App Engine Maven Plugin
This Maven plugin provides goals to build and deploy Google App Engine applications.
+ https://github.com/GoogleCloudPlatform/appengine-plugins/tree/main/app-maven-plugin
+
+
+ Google LLC
+ https://www.google.com
+
+
+
+
+ The Apache License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+
+
+
+
+
+ joaomartins
+ João Martins
+ joaomartins@google.com
+ Google
+ http://www.google.com
+
+
+ appu
+ Appu Goundan
+ appu@google.com
+ Google
+ http://www.google.com
+
+
+ meltsufin
+ Mike Eltsufin
+ meltsufin@google.com
+ Google
+ http://www.google.com
+
+
scm:git:https://github.com/GoogleCloudPlatform/app-maven-plugin.git
@@ -55,7 +92,7 @@
com.google.cloud.tools
appengine-plugins-core
- 0.10.1-SNAPSHOT
+ 0.10.1
diff --git a/appengine-plugins-core/pom.xml b/appengine-plugins-core/pom.xml
index 3f6272b1d..f7cf0ac3a 100644
--- a/appengine-plugins-core/pom.xml
+++ b/appengine-plugins-core/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud.tools
appengine-plugins-core
- 0.10.1-SNAPSHOT
+ 0.10.1
App Engine Plugins Core Library
diff --git a/versions.txt b/versions.txt
index adee570c5..740502153 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,5 +1,5 @@
# Format:
# module:released-version:current-version
-appengine-plugins-core:0.10.0:0.10.1-SNAPSHOT
-app-maven-plugin:2.5.0:2.5.1-SNAPSHOT
+appengine-plugins-core:0.10.0:0.10.1
+app-maven-plugin:2.5.0:2.5.1