Skip to content

Commit

Permalink
Update release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
smillst authored Jun 24, 2024
1 parent 0c73c07 commit cda61e7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/developer/release/README-release-process.html
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ <h2 id="snapshot_release">Snapshot release</h2>
<p>To release the Maven artifacts to the Maven Central <b>snapshot</b> repository:</p>
<ol>
<li>
Ensure that <code>~/.gradle/gradle.properties</code> includes your <code>SONATYPE_NEXUS_USERNAME</code>
and <code>SONATYPE_NEXUS_PASSWORD</code>.
Ensure that <code>~/.gradle/gradle.properties</code> includes your user token in <code>SONATYPE_NEXUS_USERNAME</code>
and your user token key in <code>SONATYPE_NEXUS_PASSWORD</code>.
</li>
<li>
Ensure that the version number in <code>checker-framework/build.gradle</code> (in <code>allprojects { version ... }</code>) ends in <code>-SNAPSHOT</code>.
Expand Down Expand Up @@ -375,13 +375,13 @@ <h2 id="pre_release_checklist">Pre-release Checklist</h2>
</tr>
<tr>
<td>4.</td>
<td><strong>Add your account information to gradle/build.properties in your home directory.</strong><br/>
<td><strong>Add your user token information to gradle/build.properties in your home directory.</strong><br/>
Follow the <a href="https://central.sonatype.org/publish/generate-token/">instructions</a> to generate a user token.
Create a <code>~/.gradle/gradle.properties</code> file with the following:
<pre>
SONATYPE_NEXUS_USERNAME=your_user_name
SONATYPE_NEXUS_PASSWORD=your_password</pre>
using the information you just created for your Sonatype Account on tern or other
network host. Since the file contains your password, make it non-readable: <code>chmod og-rw ~/.gradle/gradle.properties</code>
SONATYPE_NEXUS_USERNAME=your_tokenuser
SONATYPE_NEXUS_PASSWORD=your_tokenkey</pre>
Since the file contains your password, make it non-readable: <code>chmod og-rw ~/.gradle/gradle.properties</code>
</td>
</tr>
<tr>
Expand Down

0 comments on commit cda61e7

Please sign in to comment.