Skip to content

Commit

Permalink
fix(core): ignore validate
Browse files Browse the repository at this point in the history
  • Loading branch information
Vacxe committed Apr 10, 2024
1 parent add503a commit b7513e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions github-action/templates/apk-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
3 changes: 1 addition & 2 deletions github-action/templates/bundles-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
3 changes: 1 addition & 2 deletions github-action/templates/deobfuscation-files-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

0 comments on commit b7513e4

Please sign in to comment.