Skip to content

Commit 6c28e9b

Browse files
authored
Fix sonatype credentials in release script (#182)
Only the sonatypeUsername and sonatypePassword variables are used by the new plugin.
1 parent 206023e commit 6c28e9b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.ldrelease/prepare.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ cat >~/.gradle/gradle.properties <<EOF
2222
signing.keyId = ${android_code_signing_key_id}
2323
signing.password = ${android_code_signing_password}
2424
signing.secretKeyRingFile = ${LD_RELEASE_SECRETS_DIR}/android_code_signing_keyring
25-
ossrhUsername = ${android_sonatype_username}
26-
ossrhPassword = ${android_sonatype_password}
27-
nexusUsername = ${android_sonatype_username}
28-
nexusPassword = ${android_sonatype_password}
25+
sonatypeUsername = ${android_sonatype_username}
26+
sonatypePassword = ${android_sonatype_password}
2927
systemProp.org.gradle.internal.launcher.welcomeMessageEnabled = false
3028
EOF

0 commit comments

Comments
 (0)