Skip to content

Commit e7154ce

Browse files
dr0iTobiasNx
andauthored
Apply suggestions from code review
- use generic versioning template - fix wording - readd configs that are needed indeed Co-authored-by: TobiasNx <61879957+TobiasNx@users.noreply.github.com>
1 parent 52c3234 commit e7154ce

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

MAINTAINING.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ signing.gnupg.useLegacyGpg=true
3939
signing.gnupg.homeDir=$e.g."~/.gnupg"
4040
signing.gnupg.keyName=$yourKeyName
4141
signing.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
```
8285
1. 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
```
8689
1. 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

0 commit comments

Comments
 (0)