GeezerVison is showing github.com — Updating RELEASE with gradle instructions · guillept/java-sdk@2175928
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: RELEASE.md +6-8Lines changed: 6 additions & 8 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,16 +17,14 @@ If you are not familiar with Sonatype and/or the maven release process please re |
17 | 17 |
|
18 | 18 | ### Release steps |
19 | 19 |
|
20 | | - 1. Make sure that `pom.xml` and `build.gradle` have the same version number. In the `pom.xml` file the version should ends with -SNAPSHOT |
| 20 | + 1. The version number is the same across all modules. Update this in `gradle.properties` |
21 | 21 |
|
22 | | - 2. With the SCM connection configured correctly you can perform a release deployment to OSSRH (Staging) with: |
| 22 | + 2. Update `CHANGELOG.md` |
23 | 23 |
|
24 | | - `mvn release:clean release:prepare` |
| 24 | + 3. Update `README.md` to include the new version number |
25 | 25 |
|
26 | | - You will have to answer prompts for versions and tags. That will tag and commit a new version into your repository automatically. |
27 | | - |
28 | | - 3. Deploy to maven central: |
| 26 | + 2. Perform a release deployment to OSSRH (Staging) with: |
29 | 27 |
|
30 | | - `mvn release:perform` |
| 28 | + `gradle release` |
31 | 29 |
|
32 | | - This execution will deploy to OSSRH and release to the Central Repository in one go. |
| 30 | + You will have to answer prompts for versions and tags. That will tag and commit a new version into your repository automatically. |