mozilla-repo-urls
Process Mozilla's repository URLs. The intent is to centralize URLs parsing.
Running tests
uv tool install tox --with tox-uv
uv tool run tox -e py313
Preparing a release
- Change the version in pyproject.toml
- Update the changelog file
- Once the change is merged,
uv tool run hatch build
- Run the following:
export VERSION=$(sed -n "s/version = \"\(.*\)\"/\\1/p" pyproject.toml)
git tag -s ${VERSION} -m ${VERSION}
git push origin ${VERSION}
uv tool run twine upload dist/mozilla_repo_urls-${VERSION}.tar.gz dist/mozilla_repo_urls-${VERSION}-py3-none-any.whl