Skip to content

Commit abd1342

Browse files
committed
update publishing
1 parent ba5ae51 commit abd1342

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
env:
2929
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
3030
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
31-
SIGN_KEY: ${{ secrets.SIGN_KEY_ORG }}
31+
SIGN_KEY: ${{ secrets.SIGN_KEY }}
3232
SIGN_KEY_PASS: ${{ secrets.SIGN_PWD }}
3333
run: |
3434
./mvnw --no-transfer-progress deploy

pom.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,19 @@
215215
<artifactId>central-publishing-maven-plugin</artifactId>
216216
<version>0.10.0</version>
217217
<extensions>true</extensions>
218+
<configuration>
219+
<publishingServerId>oap-releases</publishingServerId>
220+
<deploymentName>openapi-processor-maven</deploymentName>
221+
</configuration>
218222
</plugin>
219223
</plugins>
220224
</build>
221225

222226
<distributionManagement>
223-
<repository>
224-
<id>oap-releases</id>
225-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
226-
</repository>
227+
<!-- <repository>-->
228+
<!-- <id>oap-releases</id>-->
229+
<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>-->
230+
<!-- </repository>-->
227231
<snapshotRepository>
228232
<id>oap-snapshots</id>
229233
<url>https://central.sonatype.com/repository/maven-snapshots/</url>

0 commit comments

Comments
 (0)