Skip to content

CI/CD for push example to google play#745

Open
sergeysozinov wants to merge 4 commits into
developfrom
ci-cd-example
Open

CI/CD for push example to google play#745
sergeysozinov wants to merge 4 commits into
developfrom
ci-cd-example

Conversation

@sergeysozinov

Copy link
Copy Markdown
Collaborator

CI/CD for push example to google play

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a manual GitHub Actions workflow to automate releasing the example Android app to Google Play by bumping its version, building an AAB, uploading it to Play, and then merging the version-bump PR back into the source branch.

Changes:

  • Introduces a workflow_dispatch workflow that bumps the example app version, builds the release bundle, uploads it to Google Play (internal/draft), and auto-merges the version bump PR.
  • Adds a bash helper script to bump example/app’s versionCode and align versionName with SDK_VERSION_NAME.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/publish-example-to-play.yml New CI workflow for version bump → build/upload → PR merge automation.
.github/bump_example_versions.sh Script that creates a release branch and updates versionCode/versionName for the example app.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/publish-example-to-play.yml
storeFile in keystore.properties is resolved via file() inside the :app
module, so the workflow decodes the keystore straight into example/app/
where Gradle actually looks for it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread .github/bump_example_versions.sh Outdated
Comment thread .github/workflows/publish-example-to-play.yml Outdated
@sergeysozinov
sergeysozinov requested a review from enotniy July 24, 2026 09:19
Comment thread .github/bump_example_versions.sh Outdated
echo "Nothing to commit — the version bump produced no changes. Aborting instead of pushing an empty branch."
exit 1
fi
git commit -m "Bump example app to versionName $version_name, versionCode $new_code"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не будешь тут менять?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

буду

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

переделал

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants