Skip to content

Commit e6f7a14

Browse files
committed
修改build脚本
1 parent 7f8efbf commit e6f7a14

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ci/build-and-deploy-to-maven-central.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,4 @@ mvn \
2020
-Pcentral \
2121
-Dmaven.test.skip=true \
2222
-Dgpg.passphrase=${GPG_PASSPHRASE} \
23-
-DSONATYPE_USER=${SONATYPE_USER} \
24-
-DSONATYPE_PASSWORD=${SONATYPE_PASSWORD} \
2523
clean deploy -B -D skipITs

settings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<servers>
66
<server>
77
<id>sonatype</id>
8-
<username>${SONATYPE_USER}</username>
9-
<password>${SONATYPE_PASSWORD}</password>
8+
<username>${env.SONATYPE_USER}</username>
9+
<password>${env.SONATYPE_PASSWORD}</password>
1010
</server>
1111
</servers>
1212
</settings>

0 commit comments

Comments
 (0)