Skip to content

Commit

Permalink
mention user tokens in release instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Rampke <[email protected]>
  • Loading branch information
matthiasr committed Aug 18, 2024
1 parent 314ce29 commit 6cdcdda
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Verify that you can log into [OSSRH](https://oss.sonatype.org/).
The CloudWatch Exporter is at [io.prometheus.cloudwatch](https://oss.sonatype.org/#nexus-search;quick~io.prometheus.cloudwatch).

Set up [Maven publishing](https://central.sonatype.org/publish/publish-maven/), specifically the `<server>` block in `~/.m2/settings.xml`.
Fetch your user token according to [these instructions](https://central.sonatype.org/publish/generate-token/).
A minimal config:

```xml
Expand All @@ -30,8 +31,9 @@ A minimal config:
<servers>
<server>
<id>ossrh</id>
<username>jira-user</username>
<password>jira-password</password>
<!-- Update these following the instructions at https://central.sonatype.org/publish/generate-token/ -->
<username>token-user</username>
<password>token-password</password>
</server>
</servers>
</settings>
Expand Down

0 comments on commit 6cdcdda

Please sign in to comment.