Skip to content

Commit

Permalink
Need to only sign artifacts during release.
Browse files Browse the repository at this point in the history
Going to have to update upstream PlayN and ship a new release there too. Yay.
We need more chickens!
  • Loading branch information
samskivert committed Jun 21, 2023
1 parent 6f3e8f5 commit 4a782c1
Showing 1 changed file with 28 additions and 15 deletions.
43 changes: 28 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,6 @@
<stagingProfileId>a00df38d03dd2c</stagingProfileId>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand All @@ -116,6 +101,34 @@
</modules>
</profile>

<profile>
<id>release-sign-artifacts</id>
<activation>
<property><name>performRelease</name><value>true</value></property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<keyname>[email protected]</keyname>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>deploy-local</id>
<distributionManagement>
Expand Down

0 comments on commit 4a782c1

Please sign in to comment.