Skip to content

Add automated versioning and release workflow#80

Draft
NiazSagor wants to merge 3 commits intonur-shuvo:masterfrom
NiazSagor:master
Draft

Add automated versioning and release workflow#80
NiazSagor wants to merge 3 commits intonur-shuvo:masterfrom
NiazSagor:master

Conversation

@NiazSagor
Copy link
Copy Markdown
Collaborator

@NiazSagor NiazSagor commented Mar 1, 2026

This commit introduces a GitHub Actions workflow to automate version bumping and tagging, while externalizing version configuration.

  • Adds a release.yml GitHub workflow that triggers on pushes to the release branch to increment the VERSION_CODE and VERSION_NAME (patch level), commit the changes, and create a corresponding Git tag.
  • Creates version.properties to store the current version metadata.
  • Updates app/build.gradle.kts to dynamically load versionCode and versionName from the version.properties file instead of using hardcoded values.

The workflow only gets triggered on commits to the release branch

Example Workflow:

  • dev work → master
  • ready to release → merge masterrelease
  • action bumps version on release
  • merge releasemaster (sync version back)

NiazSagor and others added 3 commits March 1, 2026 14:49
This commit introduces a GitHub Actions workflow to automate version bumping and tagging, while externalizing version configuration.

- Adds a `release.yml` GitHub workflow that triggers on pushes to the `release` branch to increment the `VERSION_CODE` and `VERSION_NAME` (patch level), commit the changes, and create a corresponding Git tag.
- Creates `version.properties` to store the current version metadata.
- Updates `app/build.gradle.kts` to dynamically load `versionCode` and `versionName` from the `version.properties` file instead of using hardcoded values.
Add automated versioning and release workflow
@NiazSagor NiazSagor requested a review from nur-shuvo March 1, 2026 08:58
@NiazSagor NiazSagor marked this pull request as draft March 7, 2026 16:57
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.

1 participant