Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 49b6585

Browse files
committed
ci: fix nexus staging close and release configuration
1 parent cca01f7 commit 49b6585

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ subprojects {
203203
}
204204
}
205205
}
206+
}
206207

207-
nexusStaging {
208-
username = System.env.OSS_USER_TOKEN_KEY ?: project.findProperty('OSS_USER_TOKEN_KEY') ?: ''
209-
password = System.env.OSS_USER_TOKEN_PASS ?: project.findProperty('OSS_USER_TOKEN_PASS') ?: ''
210-
}
208+
nexusStaging {
209+
username = System.env.OSS_USER_TOKEN_KEY ?: project.findProperty('OSS_USER_TOKEN_KEY') ?: ''
210+
password = System.env.OSS_USER_TOKEN_PASS ?: project.findProperty('OSS_USER_TOKEN_PASS') ?: ''
211211
}
212212

213213
task build {

github-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ commitNextVersion() {
4242
git config --global user.email "[email protected]"
4343
git config --global user.name "GitHub Actions"
4444

45-
echo "Deploying release to Sonatype"
45+
echo "Deploying release to Maven Central"
4646
removeSnapshots
4747

4848
./gradlew clean build publish closeAndReleaseRepository

0 commit comments

Comments
 (0)