Skip to content

Commit 6b7c42a

Browse files
suztomoJoeWang1127
andauthored
chore: release appengine-plugins-core 0.10.1 (#972)
* fix(chore): setting next release version This commit was made via apply_current_versions.sh after updating versions.txt: $ vim versions.txt $ ~/google-cloud-java/generation/apply_current_versions.sh * log message * Using the current appengine-plugins-core in app-gradle-plugin The Release Please annotation syntax is from old gax-java: https://github.com/googleapis/gax-java/blob/9eb24ba32819587e8179be0482017439cd889c4d/gax-httpjson/build.gradle * add developer, license, and project url --------- Co-authored-by: Joe Wang <joewa@google.com>
1 parent f81670d commit 6b7c42a

File tree

5 files changed

+65
-21
lines changed

5 files changed

+65
-21
lines changed

.kokoro/stage.sh

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,34 @@ cp settings.xml "${HOME}"/.m2
3434

3535
gcloud components install app-engine-java --quiet
3636

37+
echo "Staging a release"
3738
# stage release
3839
./mvnw clean deploy \
39-
-Dorg.slf4j.simpleLogger.showDateTime=true \
40-
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
41-
--show-version \
42-
--no-transfer-progress \
43-
--batch-mode \
44-
--settings "${MAVEN_SETTINGS_FILE}" \
45-
-DskipTests=true \
46-
-DperformRelease=true \
47-
-Dgpg.executable=gpg \
48-
-Dgpg.passphrase="${GPG_PASSPHRASE}" \
49-
-Dgpg.homedir="${GPG_HOMEDIR}"
40+
-Dorg.slf4j.simpleLogger.showDateTime=true \
41+
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
42+
--show-version \
43+
--no-transfer-progress \
44+
--batch-mode \
45+
--settings "${MAVEN_SETTINGS_FILE}" \
46+
-DskipTests=true \
47+
-DperformRelease=true \
48+
-Dgpg.executable=gpg \
49+
-Dgpg.passphrase="${GPG_PASSPHRASE}" \
50+
-Dgpg.homedir="${GPG_HOMEDIR}"
51+
52+
echo "Successfully finished 'mvn deploy'"
5053

5154
# promote release
5255
if [[ -n "${AUTORELEASE_PR}" ]]; then
56+
echo "Promoting the staged repository"
5357
./mvnw nexus-staging:release \
54-
--batch-mode \
55-
--settings "${MAVEN_SETTINGS_FILE}" \
56-
--activate-profiles release-staging-repository \
57-
-DperformRelease=true
58+
--batch-mode \
59+
--settings "${MAVEN_SETTINGS_FILE}" \
60+
--activate-profiles release-staging-repository \
61+
-DperformRelease=true
62+
echo "Successfully finished 'mvn nexus-staging:release'"
63+
else
64+
echo "AUTORELEASE_PR environment variable is not set (probably testing something). Not promoting the staged repository."
5865
fi
5966

6067
popd

app-gradle-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ group = "com.google.cloud.tools"
4444
dependencies {
4545
implementation(localGroovy())
4646
implementation(gradleApi())
47-
api("com.google.cloud.tools:appengine-plugins-core:0.10.1-SNAPSHOT")
47+
api("com.google.cloud.tools:appengine-plugins-core:0.10.1") // {x-version-update:appengine-plugins-core:current}
4848

4949
testImplementation("commons-io:commons-io:2.11.0")
5050
testImplementation("junit:junit:4.13.2")

app-maven-plugin/pom.xml

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,50 @@
44

55
<groupId>com.google.cloud.tools</groupId>
66
<artifactId>appengine-maven-plugin</artifactId>
7-
<version>2.5.1-SNAPSHOT</version><!-- {x-version-update:app-maven-plugin:current} -->
7+
<version>2.5.1</version><!-- {x-version-update:app-maven-plugin:current} -->
88
<packaging>maven-plugin</packaging>
99

1010
<name>App Engine Maven Plugin</name>
1111
<description>
1212
This Maven plugin provides goals to build and deploy Google App Engine applications.
1313
</description>
14+
<url>https://github.com/GoogleCloudPlatform/appengine-plugins/tree/main/app-maven-plugin</url>
15+
16+
<organization>
17+
<name>Google LLC</name>
18+
<url>https://www.google.com</url>
19+
</organization>
20+
21+
<licenses>
22+
<license>
23+
<name>The Apache License, Version 2.0</name>
24+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
25+
</license>
26+
</licenses>
27+
28+
<developers>
29+
<developer>
30+
<id>joaomartins</id>
31+
<name>João Martins</name>
32+
<email>joaomartins@google.com</email>
33+
<organization>Google</organization>
34+
<organizationUrl>http://www.google.com</organizationUrl>
35+
</developer>
36+
<developer>
37+
<id>appu</id>
38+
<name>Appu Goundan</name>
39+
<email>appu@google.com</email>
40+
<organization>Google</organization>
41+
<organizationUrl>http://www.google.com</organizationUrl>
42+
</developer>
43+
<developer>
44+
<id>meltsufin</id>
45+
<name>Mike Eltsufin</name>
46+
<email>meltsufin@google.com</email>
47+
<organization>Google</organization>
48+
<organizationUrl>http://www.google.com</organizationUrl>
49+
</developer>
50+
</developers>
1451

1552
<scm>
1653
<connection>scm:git:https://github.com/GoogleCloudPlatform/app-maven-plugin.git
@@ -55,7 +92,7 @@
5592
<dependency>
5693
<groupId>com.google.cloud.tools</groupId>
5794
<artifactId>appengine-plugins-core</artifactId>
58-
<version>0.10.1-SNAPSHOT</version><!-- {x-version-update:appengine-plugins-core:current} -->
95+
<version>0.10.1</version><!-- {x-version-update:appengine-plugins-core:current} -->
5996
</dependency>
6097

6198
<dependency>

appengine-plugins-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.google.cloud.tools</groupId>
66
<artifactId>appengine-plugins-core</artifactId>
7-
<version>0.10.1-SNAPSHOT</version><!-- {x-version-update:appengine-plugins-core:current} -->
7+
<version>0.10.1</version><!-- {x-version-update:appengine-plugins-core:current} -->
88

99
<name>App Engine Plugins Core Library</name>
1010
<description>

versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Format:
22
# module:released-version:current-version
33

4-
appengine-plugins-core:0.10.0:0.10.1-SNAPSHOT
5-
app-maven-plugin:2.5.0:2.5.1-SNAPSHOT
4+
appengine-plugins-core:0.10.0:0.10.1
5+
app-maven-plugin:2.5.0:2.5.1

0 commit comments

Comments
 (0)