Skip to content

How to release

Dominika Regéciová edited this page Feb 14, 2024 · 2 revisions

This is a temporary flow until we have the GithubActions release setup

# Write the changes to `CHANGELOG.md`
vim CHANGELOG.md
# Bump the version in `genrex/__init__.py`, and `pyproject.toml`
vim -p genrex/__init__.py pyproject.toml

git add . && git status
git commit -m "Release vx.y.z"
git tag -a vx.y.z -m "Release vx.y.z"
git push origin main
git push origin vx.y.z

poetry publish --build --username __token__ --password $PASS

# NOTE: Sometimes to make sure that the build working I execute with `--dry-run` and then `rm -rf dist`
# poetry publish --dry-run --build --username __token__ --password $PASS
Clone this wiki locally