This repository holds published release artifacts for the charcoal-cli Python package.
From the cli/ directory:
cd cli
python -m buildThis creates .tar.gz and .whl files in dist/.
cp dist/charcoal_cli-<VERSION>-py3-none-any.whl ../cli-releases/
cp dist/charcoal_cli-<VERSION>.tar.gz ../cli-releases/Add a changelog entry in the release notes describing changes since the last release.
Create a GitHub Release with the artifacts attached.
| Variable | Description |
|---|---|
PYPI_TOKEN |
(Optional) PyPI API token for publishing to PyPI |
- Bump version in
charcoal_cli/__init__.py - Update
CHANGELOG.md - Build package:
python -m build - Test the wheel:
pip install dist/*.whl - Commit and tag:
git tag v<version> - Push tag:
git push origin v<version> - Create GitHub Release with artifacts