| nav_exclude |
|---|
This repository uses GitHub Actions to automatically publish the vimms package to PyPI whenever a GitHub release is published. Follow the steps below to prepare a new release.
- Obtain a PyPI API token from your PyPI account.
- Add the token to the GitHub repository secrets as
PYPI_API_TOKEN.
The workflow uses this secret to authenticate with PyPI when uploading the package.
Update the version number in pyproject.toml before creating a release. Commit and push the change to the default branch.
- Tag the commit with the desired version and push the tag, or use GitHub's web interface to create a new release.
- Publishing the release triggers the
release-to-pypiworkflow. This workflow will:- build the package with Poetry,
- upload the resulting files from the
dist/directory to PyPI.
If the upload succeeds, the package will be available on PyPI under the new version.