Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Add GPG signing to Wren releases
Browse files Browse the repository at this point in the history
Ironically, PGPVerify doesn't default to signing their own releases...

Signed-off-by: Kortanul <[email protected]>
  • Loading branch information
Kortanul committed May 29, 2018
1 parent 1cf2604 commit 7c9043e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,31 @@
</plugins>
</reporting>

<profiles>
<profile>
<id>sign</id>
<build>
<plugins>
<!-- We want to sign the artifact, the POM, and all attached artifacts -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
<useAgent>true</useAgent>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 7c9043e

Please sign in to comment.