-
Notifications
You must be signed in to change notification settings - Fork 29
/
RELEASE
33 lines (27 loc) · 653 Bytes
/
RELEASE
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
How to release:
Add this to ~/.m2/settings.xml
Needed:
<settings>
<servers>
<server>
<id>ossrh</id>
<username>Spotify</username>
<password>your-jira-pwd</password>
</server>
</servers>
</settings>
Optional:
<profiles>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>PASSPHRASE</gpg.passphrase>
</properties>
</profile>
</profiles>
$ mvn -B -Psonatype-oss-release release:clean release:prepare
$ mvn -B -Psonatype-oss-release release:perform