You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before that, please search for similar issues. It's possible somebody has encountered this issue already.
11
11
12
12
# Pull Requests
@@ -19,7 +19,7 @@ If you want to contribute to the repository, here's a quick guide:
19
19
* Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
20
20
* Check for unnecessary whitespace with git diff --check before committing.
21
21
3. Make the test pass
22
-
4. Commit your changes:
22
+
4. Commit your changes:
23
23
* Use the present tense (`"Add feature"` not `"Added Feature"`)
24
24
* Use the imperative mood (`"Move cursor to…"` not `"Moves cursor to…"`)
25
25
* Include relevant Emoji from our [Emoji cheatsheet](#emoji-cheatsheet)
## Guide to uploading artifacts to the Central Repository
7
+
8
+
We use Sonatype as repository manager, it's used as the input channel for the Central Repository running the Sonatype Open Source Repository Hosting(OSSRH) service.
9
+
10
+
### Prerequisites
11
+
12
+
If you are not familiar with Sonatype and/or the maven release process please read the following material:
13
+
14
+
* Releasing artifacts to Sonatype using Gradle: http://central.sonatype.org/pages/gradle.html
15
+
* Install GPG, and create a public key. More info: http://central.sonatype.org/pages/working-with-pgp-signatures.html
16
+
17
+
### Release steps
18
+
19
+
1. Update all READMEs to include the new version number
20
+
21
+
This can be done using [bumpversion]. If necessary, it can be installed with the following command:
22
+
23
+
```bash
24
+
pip install bumpversion
25
+
```
26
+
27
+
To then update all version numbers, simply run:
28
+
29
+
```bash
30
+
bumpversion major|minor|patch
31
+
```
32
+
33
+
1. Perform a release deployment to OSSRH (Staging) with:
34
+
35
+
```bash
36
+
gradle release
37
+
```
38
+
39
+
You will have to answer prompts for versions and tags. That will tag and commit a new version into your repository automatically.
40
+
41
+
42
+
### Travis setup
43
+
44
+
Travis should have the following environment variables setup:
45
+
*`CI_DEPLOY_USERNAME`: JIRA username with write permission
46
+
*`CI_DEPLOY_PASSWORD`: JIRA password for the username above
47
+
*`SIGNING_KEY`: PGP public key id
48
+
*`SIGNING_PASSWORD`: PGP public key password
49
+
*`SIGNING_KEYRING_PATH`: Relative path to the public key
0 commit comments