Skip to content

Commit 333c493

Browse files
committed
chore: i nearly give it up...
1 parent 67a021c commit 333c493

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/workflows/release-to-maven-central.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: mvn versions:set "-DnewVersion=${{ github.event.inputs.releaseversion }}"
3535

3636
- name: Publish package
37-
run: mvn --batch-mode -Dgpg.passphrase= deploy -DskipTests
37+
run: mvn --batch-mode -Prelease -Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }} -Dgpg.pinentry-mode=loopback clean deploy -DskipTests
3838
env:
3939
MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
4040
MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}

pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,6 @@ SOFTWARE.
6363
<url>https://github.com/rocketbase-io/commons-rest/issues</url>
6464
</issueManagement>
6565

66-
<distributionManagement>
67-
<snapshotRepository>
68-
<id>ossrh</id>
69-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
70-
</snapshotRepository>
71-
<repository>
72-
<id>ossrh</id>
73-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
74-
</repository>
75-
</distributionManagement>
7666

7767
<scm>
7868
<connection>scm:git:git://github.com/rocketbase-io/commons-rest.git</connection>

0 commit comments

Comments
 (0)