Skip to content

Commit b3560d5

Browse files
committed
[skip ci] CI automation
1 parent b51af91 commit b3560d5

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/ossrhSettings.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1-
<settings>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
25
<servers>
36
<server>
47
<id>ossrh</id>
58
<username>${MAVEN_USERNAME}</username>
69
<password>${MAVEN_PASSWORD}</password>
710
</server>
811
</servers>
12+
<profiles>
13+
<profile>
14+
<id>ossrh</id>
15+
<activation>
16+
<activeByDefault>true</activeByDefault>
17+
</activation>
18+
<properties>
19+
<gpg.keyname>github</gpg.keyname>
20+
<gpg.passphrase>${GPG_PASS_PHRASE}</gpg.passphrase>
21+
</properties>
22+
</profile>
23+
</profiles>
924
</settings>

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,12 @@
239239
<groupId>org.apache.maven.plugins</groupId>
240240
<artifactId>maven-gpg-plugin</artifactId>
241241
<version>${maven-gpg-plugin.version}</version>
242+
<configuration>
243+
<gpgArguments>
244+
<arg>--pinentry-mode</arg>
245+
<arg>loopback</arg>
246+
</gpgArguments>
247+
</configuration>
242248
<executions>
243249
<execution>
244250
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)