From b7513e4905aa693b2b2fd57ee1265b1f3533d8c3 Mon Sep 17 00:00:00 2001 From: Konstantin Aksenov Date: Wed, 10 Apr 2024 21:11:12 +1000 Subject: [PATCH] fix(core): ignore validate --- github-action/templates/apk-upload.sh | 3 +-- github-action/templates/bundles-upload.sh | 3 +-- github-action/templates/deobfuscation-files-upload.sh | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/github-action/templates/apk-upload.sh b/github-action/templates/apk-upload.sh index 3f62ecc..5c1ee47 100644 --- a/github-action/templates/apk-upload.sh +++ b/github-action/templates/apk-upload.sh @@ -33,8 +33,7 @@ google-play-cli tracks update --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME ${USER_FRACTION:+ --user-fraction "$USER_FRACTION"} \ ${STATUS:+ --status "$STATUS"} echo "Validate..." -google-play-cli edit validate --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" \ - ${FLAG_CHANGES_NOT_SENT_FOR_REVIEW:+ --parameters "{\"changesNotSentForReview\": $FLAG_CHANGES_NOT_SENT_FOR_REVIEW}"} +google-play-cli edit validate --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" || true # Ignore until changes-not-sent-for-review will be added as parameter echo "Commit..." google-play-cli edit commit --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" \ ${FLAG_CHANGES_NOT_SENT_FOR_REVIEW:+ --changes-not-sent-for-review "$FLAG_CHANGES_NOT_SENT_FOR_REVIEW"} diff --git a/github-action/templates/bundles-upload.sh b/github-action/templates/bundles-upload.sh index f036b29..758b05e 100644 --- a/github-action/templates/bundles-upload.sh +++ b/github-action/templates/bundles-upload.sh @@ -33,8 +33,7 @@ google-play-cli tracks update --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME ${USER_FRACTION:+ --user-fraction "$USER_FRACTION"} \ ${STATUS:+ --status "$STATUS"} echo "Validate..." -google-play-cli edit validate --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" \ - ${FLAG_CHANGES_NOT_SENT_FOR_REVIEW:+ --parameters "{\"changesNotSentForReview\": $FLAG_CHANGES_NOT_SENT_FOR_REVIEW}"} +google-play-cli edit validate --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" || true # Ignore until changes-not-sent-for-review will be added as parameter echo "Commit..." google-play-cli edit commit --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" \ ${FLAG_CHANGES_NOT_SENT_FOR_REVIEW:+ --changes-not-sent-for-review "$FLAG_CHANGES_NOT_SENT_FOR_REVIEW"} diff --git a/github-action/templates/deobfuscation-files-upload.sh b/github-action/templates/deobfuscation-files-upload.sh index c8aa108..8e7ba32 100644 --- a/github-action/templates/deobfuscation-files-upload.sh +++ b/github-action/templates/deobfuscation-files-upload.sh @@ -23,8 +23,7 @@ echo "Edit id created: $EDIT_ID" echo "Upload deobfuscation files..." google-play-cli deobfuscation-files upload --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" --deobfuscation "$PATH_TO_MAPPING" --apk-version-code "$VERSION_CODE" echo "Validate..." -google-play-cli edit validate --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" \ - ${FLAG_CHANGES_NOT_SENT_FOR_REVIEW:+ --parameters "{\"changesNotSentForReview\": $FLAG_CHANGES_NOT_SENT_FOR_REVIEW}"} +google-play-cli edit validate --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" || true # Ignore until changes-not-sent-for-review will be added as parameter echo "Commit..." google-play-cli edit commit --edit-id "$EDIT_ID" --package-name "$PACKAGE_NAME" \ ${FLAG_CHANGES_NOT_SENT_FOR_REVIEW:+ --changes-not-sent-for-review "$FLAG_CHANGES_NOT_SENT_FOR_REVIEW"}