Update Mapiah version in pubspec.yaml.
Update CHANGELOG.md with the new version and changes.
Fill Highlights section in CHANGELOG.md with the most important changes of the release.
Update TODO.md with changes.
Update Flutter and Mapiah version in the action/workflow files with:
dart run ./scripts/update_flutter_and_mapiah_version.dart
Commit the previous changes with a comment like 'v0.3.0'
Push the previous changes
Create a new tag with the new version:
git tag -a v0.3.0 -m " v0.3.0"
git push origin v0.3.0
After the new release has been created in GitHub:
update the release title to include the version number and the name of the release;
update the release description including the changelog for the release.
Mapiah flatpak test release
Update Mapiah version in pubspec.yaml to some -rcXX version.
Update Flutter and Mapiah version in the action/workflow files with:
dart run ./scripts/update_flutter_and_mapiah_version.dart
Commit the previous changes with a comment like 'v0.3.0'
Push the previous changes
Create a new lightweight tag with the new version:
git tag v0.3.0
git push origin v0.3.0
At the ~/devel/io.github.rsevero.mapiah repo pull any changes from the remote main branch and create new branch:
At the main Mapiah repo ~/devel/mapiah (from the repo root) generate the Flatpak build files and copy them to the Flathub repo:
./scripts/gen_and_copy_flathub.sh
At the ~/devel/io.github.rsevero.mapiah repo:
Test the new release Flatpak build locally with:
flatpak run --command=flathub-build org.flatpak.Builder --install io.github.rsevero.mapiah.yml
flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest io.github.rsevero.mapiah.yml
flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo repo
Test the test release with:
flatpak run io.github.rsevero.mapiah