Bump huawei-publish-gradle-plugin from 1.2.2 to 1.2.4 (#1314)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mikołaj Pich <m.pich@outlook.com>
This commit is contained in:
dependabot[bot] 2021-05-02 13:49:28 +02:00 committed by GitHub
parent dfa25d8445
commit 022a4d1ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 10 deletions

View File

@ -62,14 +62,13 @@ jobs:
gpg --yes --batch --passphrase=$SERVICES_ENCRYPT_KEY ./app/src/release/agconnect-services.json.gpg
gpg --yes --batch --passphrase=$ENCRYPT_KEY ./app/key.p12.gpg
gpg --yes --batch --passphrase=$ENCRYPT_KEY ./app/upload-key.jks.gpg
- name: Build HMS version
- name: Prepare credentials
env:
AGC_CREDENTIALS: ${{ secrets.AGC_CREDENTIALS }}
run: echo $AGC_CREDENTIALS > ./app/src/release/agconnect-credentials.json
- name: Build and publish HMS version
env:
PLAY_KEY_ALIAS: ${{ secrets.PLAY_KEY_ALIAS }}
PLAY_KEY_PASSWORD: ${{ secrets.PLAY_KEY_PASSWORD }}
PLAY_STORE_PASSWORD: ${{ secrets.PLAY_STORE_PASSWORD }}
run: ./gradlew assembleHmsRelease --stacktrace
- name: Upload APK to AppGallery
env:
AGC_CLIENT_ID: ${{ secrets.AGC_CLIENT_ID }}
AGC_CLIENT_SECRET: ${{ secrets.AGC_CLIENT_SECRET }}
run: ./gradlew publishHuaweiAppGalleryHmsRelease --stacktrace;
run: ./gradlew assembleHmsRelease --stacktrace && ./gradlew publishHuaweiAppGalleryHmsRelease --stacktrace

1
.gitignore vendored
View File

@ -117,3 +117,4 @@ Thumbs.db
app/src/release/agconnect-services.json
app/src/release/agconnect-credentials.json

View File

@ -143,8 +143,7 @@ play {
huaweiPublish {
instances {
hmsRelease {
clientId = System.getenv("AGC_CLIENT_ID")
clientSecret = System.getenv("AGC_CLIENT_SECRET")
credentialsPath = "$rootDir/app/src/release/agconnect-credentials.json"
buildFormat = "apk"
deployType = "draft"
}

View File

@ -19,7 +19,7 @@ buildscript {
classpath 'com.huawei.agconnect:agcp:1.5.2.201'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.2'
classpath "com.github.triplet.gradle:play-publisher:2.8.0"
classpath "ru.cian:huawei-publish-gradle-plugin:1.2.2"
classpath "ru.cian:huawei-publish-gradle-plugin:1.2.4"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.2.0"
classpath "gradle.plugin.com.star-zero.gradle:githook:1.2.0"
classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:$about_libraries"