@@ -33,18 +33,27 @@ Create a Sonatype account:
33331 . Ask an existing contributor (likely Simon) to confirm in the ticket
34341 . Wait for Sonatype them to confirm the approval
3535
36+ Create a [ Bintray] ( https://bintray.com ) account:
37+
38+ 1 . Create an account
39+ 1 . Request access to the Bugsnag organization
40+
3641### 2. Configure the prerequisites
3742
38431 . Create your [ PGP Signatures] ( http://central.sonatype.org/pages/working-with-pgp-signatures.html )
39442 . Configure your ` ~/.gradle/gradle.properties ` :
4045
41- ``` xml
42- signing.keyId=your-gpg-key-id (8-character hex)
46+ ``` ini
47+ signing.keyId =your-gpg-key-id # (8-character hex)
4348 signing.password =your-gpg-password
4449 signing.secretKeyRingFile =/PATH/TO/HOME/.gnupg/secring.gpg
45-
46- sonatypeUsername=your-sonatype-username
47- sonatypePassword=your-sonatype-password
50+
51+ nexusUsername =your-sonatype-username
52+ nexusPassword =your-sonatype-password
53+
54+ # Your credentials for https://bintray.com
55+ bintray_user =your-bintray-username
56+ bintray_api_key =your-bintray-api-key
4857 ```
4958
5059### 3. Making a release
@@ -53,21 +62,14 @@ Create a Sonatype account:
53621 . Bump the version number in ` Notifier.java `
54631 . Commit the changes
55641 . Create a release build:
56- * ` ./gradlew --console=plain clean release `
65+ * ` ./gradlew -Preleasing=true clean release `
5766 - enter the release version (e.g. ` 1.2.0 ` )
5867 - accept the default development version
59681 . Create a release in GitHub
60- 1 . Upload the archives to Sonatype Nexus:
61- * ` git checkout <TAG_NAME> `
62- * ` ./gradlew clean uploadArchives `
63- 1 . "Promote" the release build on Maven Central
64- * Go to the [ sonatype open source dashboard] ( https://oss.sonatype.org/index.html#stagingRepositories )
65- * Click the search box at the top right, and type “com.bugsnag”
66- * Select the com.bugsnag staging repository
67- * Click the “Close” button in the toolbar to prompt the repository to be checked
68- * Click the “Refresh” button
69- * Select the com.bugsnag repository (should have a status of 'closed')
70- * Click the “Release” button in the toolbar
69+ 1 . Upload the archives to Sonatype Nexus and Bintray:
70+ * ` ./gradlew -Preleasing=true uploadArchives bintrayUpload `
71+ 1 . "Promote" the build on Maven Central:
72+ * ` ./gradlew -Preleasing=true closeAndReleaseRepository `
71731 . For a major version change, update the version numbers in the integration instructions in the website.
72741 . Update docs.bugsnag.com with any new content, and bump major version
7375numbers in installation instructions if changed.
0 commit comments