Rough notes on steps I take to publish a new version of win32:
-
Run
tool\generate.cmd
to make sure that the machine-generated classes are the latest. -
Run
dart test
to make sure all the automated tests are still working.- Optionally, also run it from Windows 7 to make sure nothing downlevel has failed.
- These tests are also run through CI/CD on GitHub.
-
Bump the version in
pubspec.yaml
and updateCHANGELOG.md
. -
Update
README.md
as appropriate with any changed examples. -
If ready, run
git tag v1.2.3
(with the appropriate version number) to tag the release. -
Run
git push
andgit push --tags
to push both the release and the tag to GitHub. -
Run
dart pub publish
to push the build live. Watch pub.dev to make sure that there's nothing broken.