1.5 KiB
1.5 KiB
Release Checklist
When to release
- New feature or bugfix that should be distributed to users
- Flatpak build changes validated
- All tests passing (
cargo test)
Step-by-step
1. Bump version
Update version in:
daemon/Cargo.tomlcli/Cargo.tomlengine/Cargo.tomlprotocol/Cargo.tomlui/Cargo.tomluinputd/Cargo.tomlREADME.mdversion badge
2. Update CHANGELOG.md
Add a new entry under the version heading:
## vX.Y.Z (YYYY-MM-DD)
### Added
- new features...
### Fixed
- bug fixes...
### Changed
- behavior changes...
3. Build the Flatpak
cd packaging/flatpak
bash build-flatpak.sh X.Y.Z
Verify the bundle was created:
ls -lh VietPlus-X.Y.Z.flatpak
4. Test the Flatpak
flatpak install --user --bundle VietPlus-X.Y.Z.flatpak
flatpak run io.github.vietc.VietPlus
5. Commit and push
git add -A
git commit -m "release: vX.Y.Z — <summary>"
git push origin main
6. Create a release on Forgejo/GitHub
Attach the Flatpak bundle (VietPlus-X.Y.Z.flatpak) as a release asset.
# Using forgejo-release (if configured)
# Or manually upload via the web UI
Quick command
VERSION=X.Y.Z && \
sed -i "s/^version = .*/version = \"$VERSION\"/" \
daemon/Cargo.toml cli/Cargo.toml engine/Cargo.toml \
protocol/Cargo.toml ui/Cargo.toml uinputd/Cargo.toml && \
sed -i "s/Version-[0-9.]*-purple/Version-$VERSION-purple/" README.md && \
echo "Version bumped to $VERSION"