Add package-first build and distribution workflow
This commit is contained in:
parent
4a69c3d333
commit
993f51712b
13 changed files with 462 additions and 52 deletions
|
|
@ -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/`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue