mirror of
https://github.com/fleetdm/fleet
synced 2026-05-20 15:38:39 +00:00
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** Resolves #36890
1.9 KiB
1.9 KiB
Release process
1. Create RC branch
git checkout main
git pull origin main
git checkout -b rc-minor-fleetd-android-v1.X.X
2. Update version numbers
In app/build.gradle.kts, update:
defaultConfig {
versionCode = 2 // Increment by 1 each release
versionName = "1.1.0" // Semantic version for display
}
versionCode: Integer that must increase with each release (Google Play requirement)versionName: Human-readable version string shown to users
3. Update CHANGELOG.md
Add an entry for the new version with changes since the last release.
4. Commit and push RC branch
git add app/build.gradle.kts CHANGELOG.md
git commit -m "Prepare release v1.1.0"
git push origin rc-minor-fleetd-android-v1.X.X
5. Test the RC
- Build and test the release candidate
- Fix any issues on the RC branch (cherry-pick fixes from main if applicable)
6. Build signed release
Ensure keystore.properties is configured with the release signing key.
./gradlew clean bundleRelease
Output: app/build/outputs/bundle/release/app-release.aab
7. Upload to Google Play
- Go to Google Play Console
- Select the Fleet app
- Navigate to Release > Production (or appropriate track)
- Upload the signed AAB
- Add release notes
- Review and roll out
8. Tag the release
After the release is uploaded, tag the RC branch:
git checkout rc-minor-android-v1.X.X
git tag fleetd-android-v1.X.X
git push origin rc-minor-fleetd-android-v1.X.X
9. Bring version bump and CHANGELOG to main
git checkout main
git checkout rc-minor-fleetd-android-v1.X.X -- app/build.gradle.kts CHANGELOG.md
git commit -m "Update version and CHANGELOG for fleetd-android-v1.X.X"
git push origin main
This brings only the version bump and CHANGELOG updates to main, not other RC changes.