Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add release automation workflows #2697

Conversation

niyajali
Copy link
Collaborator

@niyajali niyajali commented Sep 6, 2024

This commit introduces several GitHub Actions workflows to automate the release process:

  • Production Deploy: Triggered by a released GitHub release, this workflow promotes the beta track to production on Google Play.
  • Tag Weekly Release: Scheduled to run weekly, this workflow tags a final release and triggers the onPush.yml workflow for beta deployment.
  • Bump our Calendar Version: Scheduled to run monthly, this workflow bumps the calendar version.
  • On Push: Triggered by pushes to the master branch, this workflow builds the app, creates a GitHub pre-release, and deploys to Play Store internal track. It also promotes to beta if the beta input is set to true.

Additionally, this commit includes changes to support the release automation:

  • Adds reckon plugin for version management.
  • Adds fastlane for Play Store and Amazon Appstore deployment.
  • Adds GitHub Actions to generate release notes and version numbers.
  • Updates build.gradle.kts to use environment variables for signing configurations and version ing.
  • Adds a mock google-services.json for testing.
  • Updates .gitignore to exclude sensitive files.

This automation will streamline the release process and ensure consistent versioning and deployment.

Fixes #Issue_Number

Please Add Screenshots If there are any UI changes.

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the AndroidStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

This commit introduces several GitHub Actions workflows to automate the release process:

- **Production Deploy:** Triggered by a released GitHub
 release, this workflow promotes the beta track to production on Google Play.
- **Tag Weekly Release:** Scheduled to run weekly, this workflow tags a final release and triggers the `onPush.yml` workflow for beta deployment.
- **Bump our Calendar Version:** Scheduled to run monthly, this workflow bumps the calendar
 version.
- **On Push:** Triggered by pushes to the master branch, this workflow builds the app, creates a GitHub pre-release, and deploys to Play Store internal track. It also promotes to beta if the `beta` input is set to true.

Additionally, this commit includes changes to support the release automation:

- Adds `reckon` plugin for version management.
- Adds `fastlane` for Play Store and Amazon Appstore deployment.
- Adds GitHub Actions to generate release notes and version numbers.
- Updates `build.gradle.kts` to use environment variables for signing configurations and version
ing.
- Adds a mock `google-services.json` for testing.
- Updates `.gitignore` to exclude sensitive files.

This automation will streamline the release process and ensure consistent versioning and deployment.
@therajanmaurya therajanmaurya merged commit 8184542 into openMF:development Sep 6, 2024
6 of 7 checks passed
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.

2 participants