File: ReleaseProcedures.md

package info (click to toggle)
mapsforge 0.17.0%2Bdfsg.1-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 40,772 kB
  • sloc: java: 43,307; xml: 6,707; sh: 140; makefile: 23
file content (50 lines) | stat: -rw-r--r-- 1,501 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Release Procedures 

This documents the steps for an official mapsforge release.

Set Version Numbers
-------------------
Set the new version number in `build.gradle`.

Deployment to Sonatype OSSRH
----------------------------
```bash
gradlew -Dorg.gradle.parallel=false publish
```

Your `gradle.properties` needs to contain:
```
signing.keyId=
signing.password=
signing.secretKeyRingFile=

SONATYPE_USERNAME=
SONATYPE_PASSWORD=
```

Signatory credentials:
- The public key ID (an 8 character hexadecimal string)
- The passphrase used to protect your private key
- The absolute path to the secret key ring file containing your private key

Ludwig and Emux have the SONATYPE_USERNAME and SONATYPE_PASSWORD for this.

Publish Release
---------------
Log into https://oss.sonatype.org/index.html

The user is Jürgen, Ludwig and Emux have id and password for it.

And navigate to Staging Repositories, there should be then a mapsforge one somewhere in the list (not sure if there is an easier way to find things, the mapsforge one is usually at the bottom).

Check the released artifacts and click on Close. Sonatype will then perform its own validation. After that click Release, at that point it will be staged to Maven Central, but might take some time.

(This is where the Sonatype user was created for mapsforge https://issues.sonatype.org/browse/OSSRH-4231)

Git tags
--------
Add tags to Git commit in form X.Y.Z

Developer Links
---------------
Add release information to the developer wikis.