Skip to content

Commit a8929df

Browse files
Release process fixes (#138)
1 parent e4a5b4b commit a8929df

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

RELEASE.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,26 +70,28 @@ Prepare release
7070
---------------
7171
* Update all ```pom.xml``` files in the package to the release version you want.
7272
* Update version numbers appearing in `README.md`.
73-
* Submit a pull request, get it reviewed, and submit.
73+
* Submit a pull request, get it reviewed, but wait to submit it in case there are errors during publishing.
7474
* ```mvn clean install deploy -DperformRelease=true```
7575
* Verify the result [here](https://oss.sonatype.org/#nexus-search;quick~com.google.auth).
7676
* If there is a problem, undo by ```mvn nexus-staging:drop```.
77-
* ```mvn nexus-staging:release -DperformRelease=true```
78-
* On the [releases](https://github.com/google/google-auth-library-java/releases) page, create a corresponding Git tag (e.g., "v0.7.0") on the release commit, and summarize the commits since the last release. Follow the style of previous release notes.
79-
* Update Javadoc on Github using `update_javadoc.sh`.
80-
* Update all ```pom.xml``` files to the new snapshot version (increment patch version number, e.g., from 0.4.0 to 0.4.1-SNAPSHOT).
8177

8278
Publish release
8379
---------------
84-
* Go to [Sonatype](https://oss.sonatype.org/) and log in
85-
* Click on *Staging Repositories* on the left
86-
* Filter down to the repository by typing the package's groupId without periods in the search box
87-
* In our case, ```comgoogleauth```
88-
* If the repository does not appear here, the publication process may have started automatically
89-
* Otherwise, click the *release* button just below the top tabs
90-
* It will take some time (up to 10 minutes) for the package to transition
80+
* ```mvn nexus-staging:release -DperformRelease=true```
81+
* It will take some time (10 minutes to 8 hours) for the package to be released
9182
* Confirm that the release appears in the [parent folder on Maven
9283
Central](https://repo1.maven.org/maven2/com/google/auth/google-auth-library-parent/)
84+
* If the release doesn't show up, do the following to check for failures:
85+
* Go to [Sonatype](https://oss.sonatype.org/) and log in
86+
* Click on *Staging Repositories* on the left
87+
* Filter down to the repository by typing the package's groupId without periods in the search box
88+
* In our case, ```comgoogleauth```
89+
* Click on the repository and check for errors
90+
* Submit the pull request to bump the version numbers
91+
* Update Javadoc on Github using `scripts/update_javadoc.sh`.
92+
* On the [releases](https://github.com/google/google-auth-library-java/releases) page, create a corresponding Git tag (e.g., "v0.7.0") on the release commit, and summarize the commits since the last release. Follow the style of previous release notes.
93+
* Update all ```pom.xml``` files to the new snapshot version (increment patch version number, e.g., from 0.4.0 to 0.4.1-SNAPSHOT).
94+
* Submit a pull request, get it reviewed, and submit.
9395

9496
Special cases
9597
=============

0 commit comments

Comments
 (0)