Skip to content

Commit 6c3c110

Browse files
committed
prepare for release
1 parent ac60510 commit 6c3c110

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/maven-publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ name: Maven Package
55

66
on:
77
push:
8-
branches:
9-
- revilwang-patch-1
8+
tags:
9+
- '*'
1010

1111
jobs:
1212
build:
@@ -41,10 +41,7 @@ jobs:
4141
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
4242

4343
- name: Publish to Apache Maven Central
44-
run: |
45-
mvn --version
46-
gpg --version
47-
mvn deploy
44+
run: mvn deploy
4845
env:
4946
MAVEN_USERNAME: Cqjifrr7
5047
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
<configuration>
191191
<serverId>ossrh</serverId>
192192
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
193-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
193+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
194194
</configuration>
195195
</plugin>
196196
<plugin>

0 commit comments

Comments
 (0)