Skip to content

Commit

Permalink
Merge pull request #196 from qonversion/tech/fixAndroidPublish
Browse files Browse the repository at this point in the history
Android publish scripts fix
  • Loading branch information
SpertsyanKM authored Jul 5, 2024
2 parents a9246e9 + 27bd8b5 commit 443eb4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- name: Publish to MavenCentral
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
OSSRH_TOKEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}

iOS_publish:
name: Publish iOS release
Expand Down
8 changes: 4 additions & 4 deletions android/scripts/publish-root.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ext["ossrhUsername"] = project.hasProperty('ossrhUsername') ? project.property('ossrhUsername') : System.getenv('OSSRH_USERNAME')
ext["ossrhPassword"] = project.hasProperty('ossrhPassword') ? project.property('ossrhPassword') : System.getenv('OSSRH_PASSWORD')
ext["ossrhToken"] = project.hasProperty('ossrhToken') ? project.property('ossrhToken') : System.getenv('OSSRH_TOKEN')
ext["ossrhTokenPassword"] = project.hasProperty('ossrhTokenPassword') ? project.property('ossrhTokenPassword') : System.getenv('OSSRH_TOKEN_PASSWORD')
ext["signing.keyId"] = project.hasProperty('signing.keyId') ? project.property('signing.keyId') : System.getenv('SONATYPE_GPG_ID')
ext["signing.password"] = project.hasProperty('signing.password') ? project.property('signing.password') : System.getenv('SONATYPE_GPG_PASSWORD')
ext["signing.secretKeyRingFile"] = project.hasProperty('signing.secretKeyRingFile') ? project.property('signing.secretKeyRingFile') : System.getenv('SONATYPE_GPG_FILE')
Expand All @@ -8,8 +8,8 @@ ext["sonatypeStagingProfileId"] = project.hasProperty('sonatypeStagingProfileId'
nexusPublishing {
repositories {
sonatype {
username = ossrhUsername
password = ossrhPassword
username = ossrhToken
password = ossrhTokenPassword
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
stagingProfileId = sonatypeStagingProfileId
Expand Down

0 comments on commit 443eb4a

Please sign in to comment.