Release¶
Before a release:
- Bump the version in
datasetlint/_version.pyandpyproject.toml. - Update
CHANGELOG.md. - Run
make release-check. - Run
mkdocs build --strict. - Run the
Publishworkflow manually withtarget: testpypi. - Install the release version from TestPyPI in a fresh virtual environment.
- Create and push an annotated
vX.Y.Ztag. - Draft and publish a GitHub release with the changelog notes.
The GitHub release publish event uploads the checked distributions to PyPI
through trusted publishing. Manual target: pypi dispatch is only for replaying
a release from a tag ref.
git tag -a v0.0.1 -m "DatasetLint v0.0.1"
git push origin v0.0.1
See PUBLISHING.md for trusted publisher setup and the exact TestPyPI install
smoke command.