-
Notifications
You must be signed in to change notification settings - Fork 13
/
how to release.txt
30 lines (26 loc) · 944 Bytes
/
how to release.txt
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
1. update release notes and github readme page (don't commit)
2. remove SNAPSHOT version
3. mvn -DperformRelease=true clean deploy
(set password in settings.xml or use local pgp key password, for which the public key must have been sent to a public key server,
eg: gpg --keyserver hkp://keyserver.ubuntu.com --send-keys 05AC6403)
server needed in settings.xml (see below)
4. add new SNAPSHOT version and commit everything
maven's settings.xml:
<server>
<id>ossrh</id>
<username>sonatype user</username>
<password>sonatype password</password>
</server>
To have a global gpg password so that it will use that automatically:
<profiles>
<profile>
<id>gpg</id>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>letmein</gpg.passphrase>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>gpg</activeProfile>
</activeProfiles>