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

Commit 7c9043e

Browse files
committed
Add GPG signing to Wren releases
Ironically, PGPVerify doesn't default to signing their own releases... Signed-off-by: Kortanul <kortanul@protonmail.com>
1 parent 1cf2604 commit 7c9043e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,4 +304,31 @@
304304
</plugins>
305305
</reporting>
306306

307+
<profiles>
308+
<profile>
309+
<id>sign</id>
310+
<build>
311+
<plugins>
312+
<!-- We want to sign the artifact, the POM, and all attached artifacts -->
313+
<plugin>
314+
<groupId>org.apache.maven.plugins</groupId>
315+
<artifactId>maven-gpg-plugin</artifactId>
316+
<configuration>
317+
<passphrase>${gpg.passphrase}</passphrase>
318+
<useAgent>true</useAgent>
319+
</configuration>
320+
<executions>
321+
<execution>
322+
<id>sign-artifacts</id>
323+
<phase>verify</phase>
324+
<goals>
325+
<goal>sign</goal>
326+
</goals>
327+
</execution>
328+
</executions>
329+
</plugin>
330+
</plugins>
331+
</build>
332+
</profile>
333+
</profiles>
307334
</project>

0 commit comments

Comments
 (0)