ITADN
renovate-bot/mozilla-releng-_-mozilla-repo-urls
renovate-bot/mozilla-releng-_-mozilla-repo-urls · 文件
文件最后提交记录最后更新时间
README.md

mozilla-repo-urls

Process Mozilla's repository URLs. The intent is to centralize URLs parsing.

Running tests

  1. uv tool install tox --with tox-uv
  2. uv tool run tox -e py313

Preparing a release

  1. Change the version in pyproject.toml
  2. Update the changelog file
  3. Once the change is merged, uv tool run hatch build
  4. 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