Add package-first build and distribution workflow

This commit is contained in:
Thales Maciel 2026-02-27 15:06:57 -03:00
parent 4a69c3d333
commit 993f51712b
13 changed files with 462 additions and 52 deletions

View file

@ -2,11 +2,16 @@
1. Update `CHANGELOG.md` with final release notes.
2. Bump `project.version` in `pyproject.toml`.
3. Run:
- `python3 -m py_compile src/*.py tests/*.py`
- `python3 -m unittest discover -s tests -p 'test_*.py'`
4. Build artifacts:
- `python3 -m build`
5. Tag release:
3. Run quality and build gates:
- `make release-check`
4. Build packaging artifacts:
- `make package`
5. Verify artifacts:
- `dist/*.whl`
- `dist/*.tar.gz`
- `dist/*.deb`
- `dist/arch/PKGBUILD`
6. Tag release:
- `git tag vX.Y.Z`
- `git push origin vX.Y.Z`
7. Publish release and upload package artifacts from `dist/`.