Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 808 Bytes

RELEASE.md

File metadata and controls

41 lines (26 loc) · 808 Bytes

Making a new release of brq

Manual release

Python package

This project can be distributed as Python packages. Before generating a package, we first need to install build.

pip install twine hatch

Bump the version using hatch.

hatch version <new-version>

To create a Python source package (.tar.gz) and the binary package (.whl) in the dist/ directory, do:

rm -rf dist/*
hatch build

python setup.py sdist bdist_wheel is deprecated and will not work for this package.

Then to upload the package to PyPI, do:

twine upload dist/*

Automatic release

GitHub Actions

Configure the following secrets in the GitHub repository:

  • PYPI_API_TOKEN: PyPI API token