Releasing Java SDK packages » History » Version 3
Peter Amstutz, 12/01/2021 08:13 PM
1 | 1 | Peter Amstutz | h1. Releasing Java SDK packages |
---|---|---|---|
2 | |||
3 | The Java SDK is distributed on the Sonatype artifact repository. Here are the steps to release a new jar file: |
||
4 | |||
5 | 2 | Peter Amstutz | reference: https://central.sonatype.org/publish/release/ |
6 | |||
7 | 1 | Peter Amstutz | # Build and upload package using https://ci.arvados.org/view/All/job/build-java-sdk |
8 | # Go to https://oss.sonatype.org and log in with the appropriate "sonatype" credentials |
||
9 | # Under "Build Promotion" on the left sidebar, click on "Staging Repostories" |
||
10 | # Find "orgarvados-1004" and click on it |
||
11 | # In the toolstrip, click on "Close" -- this locks the repository against further changes and runs validation checks |
||
12 | # The validation checks take a few minutes. You can monitor it on the "Activity" tab |
||
13 | # Once the validations have passed, you'll be able to hit the "Release" button |
||
14 | # This moves the packages to the release repository and drops (deletes) the staging repository |
||
15 | # Reportedly there is lag of a few minutes on when a released package becomes visible / searchable |
||
16 | 3 | Peter Amstutz | |
17 | h2. gradle.properties |
||
18 | |||
19 | <pre> |
||
20 | ossrhUsername = 'curii' |
||
21 | ossrhPassword = '...' |
||
22 | signing.keyId=??? |
||
23 | signing.password=??? |
||
24 | signing.secretKeyRingFile=secring.gpg |
||
25 | </pre> |