Skip to content

Commit

Permalink
Publishing staging version test (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsuharnikov committed Oct 12, 2023
1 parent cafe871 commit 3425591
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,14 @@ jobs:
# TODO: ${GRADLE_EXTRA_ARGS}
# Debug step
./gradlew --info retrieveSonatypeStagingProfile -PrefName=v0.1.7 \
-PsonatypeUsername='${{ secrets.OSSRH_USERNAME }}' \
-PsonatypePassword='${{ secrets.OSSRH_PASSWORD }}' \
-PgpgKey='${{ secrets.OSSRH_GPG_KEY_ASCII }}' \
-PgpgPassphrase='${{ secrets.OSSRH_GPG_PASSPHRASE }}'
# ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -PrefName=v0.1.7 \
# ./gradlew --info retrieveSonatypeStagingProfile -PrefName=v0.1.7 \
# -PsonatypeUsername='${{ secrets.OSSRH_USERNAME }}' \
# -PsonatypePassword='${{ secrets.OSSRH_PASSWORD }}' \
# -PgpgKey='${{ secrets.OSSRH_GPG_KEY_ASCII }}' \
# -PgpgPassphrase='${{ secrets.OSSRH_GPG_PASSPHRASE }}'

./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -PrefName=v0.1.7 \
-PsonatypeUsername='${{ secrets.OSSRH_USERNAME }}' \
-PsonatypePassword='${{ secrets.OSSRH_PASSWORD }}' \
-PgpgKey='${{ secrets.OSSRH_GPG_KEY_ASCII }}' \
-PgpgPassphrase='${{ secrets.OSSRH_GPG_PASSPHRASE }}'
2 changes: 1 addition & 1 deletion zwaves_jni/javalib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ nexusPublishing {
repositories {
sonatype {
snapshotRepositoryUrl.set(uri("https://oss.sonatype.org/content/repositories/snapshots"))
nexusUrl.set(uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/"))
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
username = project.findProperty('sonatypeUsername')
password = project.findProperty('sonatypePassword')
}
Expand Down

0 comments on commit 3425591

Please sign in to comment.