This guide explains how to release a new version of the Year Dots app (e.g., 1.1, 1.2, 1.5) using the existing GitHub Actions workflow.
Open app/build.gradle.kts and update the versionCode and versionName inside the defaultConfig block.
defaultConfig {
// ...
versionCode = 2 // Increment this by 1 for every new release
versionName = "1.1" // The visible version name (e.g., 1.1, 1.2, 2.0)
// ...
}- versionCode: An integer that must always increase (e.g., 1 -> 2).
- versionName: A string representing the version (e.g., "1.1").
Open CHANGELOG.md and add a new entry for the version you are releasing at the top of the history.
## [1.1] - YYYY-MM-DD
### Added
- New feature description...
### Fixed
- Bug fix description...Commit these changes to the repository.
git add app/build.gradle.kts CHANGELOG.md
git commit -m "Prepare release 1.1"
git pushYou have two ways to trigger the release workflow on GitHub:
Simply create a tag starting with v matching your version name and push it.
git tag v1.1
git push origin v1.1This will automatically:
- Trigger the
Release Buildworkflow. - Build the APK.
- Sign it (requires secrets configured).
- Create a GitHub Release with the APK attached.
- Go to the Actions tab in your GitHub repository.
- Select Release Build from the left sidebar.
- Click Run workflow.
- Enter the version number (e.g.,
1.1). - Click Run workflow.
Once the workflow finishes (takes about 2-3 minutes), go to the Releases section on the main page of your GitHub repository. You will find the new release v1.1 with YearDots-1.1.apk ready for download.
By default, the APK generated will be unsigned unless you have configured the following Repository Secrets in GitHub Settings -> Secrets and variables -> Actions:
KEYSTORE_BASE64: Your keystore file encoded in base64.KEYSTORE_PASSWORD: The password for your keystore.KEY_ALIAS: The alias of your signing key.KEY_PASSWORD: The password for your specific key.
If these are not set, you can still install the debug APK or the unsigned release APK (requires bundle tool or signer), but for a proper release, signing is recommended.