Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit b94f8e4

Browse files
Update release instructions (#108)
1 parent 081959c commit b94f8e4

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

RELEASE.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Release Instructions
2-
====================
1+
One-time setup
2+
==============
33

44
Set up Sonatype Account
55
-----------------------
@@ -58,20 +58,22 @@ Create a Maven settings file
5858
</settings>
5959
```
6060

61+
To prepare a release
62+
====================
63+
6164
Versioning
6265
----------
6366
Minor changes should be a point increase (0.6.0 -> 0.6.1). Additions to API or breaking changes should be
6467
a major release. (0.6.0 -> 0.7.0)
6568

66-
6769
Deploy to Sonatype
6870
------------------
6971
* Update all ```pom.xml``` files in the package to the release version you want. Submit a pull request, get it reviewed, and submit
7072
* ```mvn clean install deploy -DperformRelease=true```
7173
* Verify the result [here](https://oss.sonatype.org/#nexus-search;quick~com.google.auth)
7274
* If there is a problem, undo by ```mvn nexus-staging:drop```
7375
* ```mvn nexus-staging:release -DperformRelease=true```
74-
* Create and push a corresponding Git tag (e.g., "v0.7.0") on the release commit
76+
* 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.
7577
* Update all ```pom.xml``` files to the new snapshot version (unless it's a bugfix release, we
7678
update from 0.4.0 to 0.5.0-SNAPSHOT)
7779

0 commit comments

Comments
 (0)