Skip to content

Commit 4fda64e

Browse files
Merge pull request #55 from lwander/gpg-release
Configure GPG artifact signing
2 parents 5c13819 + ae43341 commit 4fda64e

File tree

2 files changed

+23
-19
lines changed

2 files changed

+23
-19
lines changed

kubernetes/RELEASES.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ You will need to have the following in place:
3737
</settings>
3838
```
3939

40-
3. A GPG key (specifics TBD) __TODO(lwander)__
40+
3. A GPG key - if you are a publisher, you should already have a copy. You will
41+
be prompted on STDIN to enter the key's passphrase during release.
4142

4243
## Doing a release
4344

pom.xml

+21-18
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<project
2-
xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
<artifactId>client-java</artifactId>
6-
<groupId>io.kubernetes</groupId>
7-
<version>1.0-SNAPSHOT</version>
8-
<packaging>pom</packaging>
1+
<project
2+
xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<artifactId>client-java</artifactId>
6+
<groupId>io.kubernetes</groupId>
7+
<version>1.0-SNAPSHOT</version>
8+
<packaging>pom</packaging>
99
<name>Kubernetes Client API</name>
1010

11-
<modules>
12-
<module>kubernetes</module>
13-
<module>examples</module>
14-
<module>util</module>
15-
</modules>
11+
<modules>
12+
<module>kubernetes</module>
13+
<module>examples</module>
14+
<module>util</module>
15+
</modules>
1616

1717
<scm>
1818
<connection>scm:git:[email protected]:kubernetes-client/java.git</connection>
@@ -60,23 +60,27 @@
6060
<version>2.5.3</version>
6161
<configuration>
6262
<autoVersionSubmodules>true</autoVersionSubmodules>
63-
<useReleaseProfile>false</useReleaseProfile>
6463
<releaseProfiles>release</releaseProfiles>
6564
<goals>deploy</goals>
6665
</configuration>
6766
</plugin>
6867
</plugins>
6968
</build>
70-
7169
<profiles>
7270
<profile>
73-
<id>sign-artifacts</id>
71+
<id>release-sign-artifacts</id>
72+
<activation>
73+
<property>
74+
<name>release</name>
75+
<value>true</value>
76+
</property>
77+
</activation>
7478
<build>
7579
<plugins>
7680
<plugin>
7781
<groupId>org.apache.maven.plugins</groupId>
7882
<artifactId>maven-gpg-plugin</artifactId>
79-
<version>1.5</version>
83+
<version>1.6</version>
8084
<executions>
8185
<execution>
8286
<id>sign-artifacts</id>
@@ -91,5 +95,4 @@
9195
</build>
9296
</profile>
9397
</profiles>
94-
9598
</project>

0 commit comments

Comments
 (0)