Skip to content

Commit 6cd83eb

Browse files
authored
Update the document to use user tokens (#141)
1 parent bbad199 commit 6cd83eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

RELEASING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ We deploy the SDK to [Maven Central](https://search.maven.org/artifact/com.ironc
66
- Update the `sdkVersion` in [TenantSecurityRequest.java](./src/main/java/com/ironcorelabs/tenantsecurity/kms/v1/TenantSecurityRequest.java) to match the pom.xml.
77
- Add an entry to [CHANGELOG.md](./CHANGELOG.md).
88
- Commit the changes to the `main` branch and add a git tag with the `version` in it. Wait until the release has succeeded to push the changes.
9-
- Put the username and password for the `icl-devops` Sonatype account into your `.m2/settings.xml` file. These credentials are stored on Drive in `IT_Info/sonatype-info.txt.iron`. A sample of this file is given below.
9+
- Login to https://oss.sonatype.org with the username `icl-devops` and the password which is stored in `IT_Info/sonatype-info.txt.iron`.
10+
- In the corner with the username click the down arrow and go to profile. Then click the `Access User Token` button. Copy the username and password into your `.m2/settings.xml`. A sample of this file is given below.
1011
- Import the GPG signing key needed to sign the release. In Google Drive, navigate to the `IT_Info/pgp` folder, download `rsa-signing-subkey.asc.iron` and `ops-info.txt.iron`, and decrypt them using IronHide. Then do the following:
1112
1. Copy the master password from `ops-info.txt` to your clipboard so it can be provided in step 3 when importing the secret key.
1213
2. `gpg --keyserver keys.gnupg.net --receive-keys 62F57B1B87928CAC`
@@ -33,7 +34,7 @@ We deploy the SDK to [Maven Central](https://search.maven.org/artifact/com.ironc
3334
<servers>
3435
<server>
3536
<id>sonatype-nexus</id>
36-
<username>icl-devops</username>
37+
<username>*********</username>
3738
<password>***************************</password>
3839
</server>
3940
</servers>

0 commit comments

Comments
 (0)