File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ signing.gnupg.useLegacyGpg=true
3939signing.gnupg.homeDir=$e.g."~/.gnupg"
4040signing.gnupg.keyName=$yourKeyName
4141signing.password=$keysPassphrase
42+ # depending on gradle plugin versions etc. you may need to use:
43+ signing.keyId=$yourKeyName
44+ signing.secretKeyRingFile=$e.g."~/.gnupg/secring.gpg"
4245```
4346
4447## Authorize at central sonatype
@@ -75,17 +78,17 @@ a) It's going from your local Git repository to central.sonatype.com to Maven Ce
7578 ```
7679 git tag -s metafacture-core-A.B.C
7780 ```
78- 1. When prompted, add a sensible commit message. For instance, something like:
81+ 1. When prompted, add a sensible tag message. For instance, something like:
7982 ```
80- Release 7.1.0
83+ Release A.B.C
8184 ```
82851. Make sure to have a *clean* Git directory (otherwise the build will fail with the error message `Working copy has modifications`):
8386 ```
8487 git status
8588 ```
86891. Now you can build and upload the release to Sonatype:
8790 ```
88- ./gradlew publishToSonatype -PpublishVersion=7.1.0 closeSonatypeStagingRepository
91+ ./gradlew publishToSonatype -PpublishVersion=A.B.C closeSonatypeStagingRepository
8992 ```
9093### Test
9194
You can’t perform that action at this time.
0 commit comments