larigira/RELEASE.md
boyska 9bb4dda5de
Some checks failed
Install and run tests / test (3.11) (push) Failing after 3s
Install and run tests / test (3.12) (push) Failing after 4s
Install and run tests / test (3.13) (push) Failing after 3s
Install and run tests / test (3.8) (push) Failing after 3s
Install and run tests / test (3.9) (push) Failing after 3s
Install and run tests / test (3.10) (push) Successful in 2m6s
Build documentation / build (push) Successful in 5m32s
Build documentation / deploy (push) Failing after 2m16s
improve release doc: how to upload stable
2025-03-01 14:49:00 +01:00

927 B

How to release

Change version number in pyproject.toml and commit it. Store this in $VERSION Make a tag like git tag -a v${VERSION?}

Make a test release

This will build packages and upload them to the test repository, so that you can perform some QA

pip install build twine
python3 -m build .
twine upload --repository testpypi dist/*-${VERSION?}-*

QA

On a clean environment, install the version from https://test.pypi.org/project/larigira/

pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple larigira==${VERSION?}
  • install
  • scripts are available
  • you can browse the web UI without problems:
  • audio generation seems to work

Release the stable

(
set -eu
twine upload --repository pypi  dist/*-${VERSION?}-*
git push --tags
)