automatic-pypi-release
Automatically build and release to pypi, incrementing the version without user intervention.
Note: This project should be used as a template to build your repository and enable automatic publish to pypi.
This repository does the following:
- Increase minor version (If not a x.x.0 tagged)
- Build and uploadpypi package
- push the new tag to the repository
Requirements
This project is setup to use semver, so it will need an initial tag in the format of "x.y.0" (The last number must be 0).
Your project must have the following files:
- Versioneer changes:
- setup.py
- setup.cfg
- versioneer.py
- MANIFEST.in
- automatic_pypi_release/__init__.py
- automatic_pypi_release/_version.py
- Githun Actions:
- .github/workflows/publish-to-test-pypi.yml