diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed9bccd..129ab67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -73,3 +73,4 @@ jobs: packages-dir: dist/ password: ${{ secrets.PYPI_API_TOKEN }} print-hash: true + skip-existing: true diff --git a/pyproject.toml b/pyproject.toml index 432072e..90354db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,6 +51,7 @@ ignore_missing_imports = true [tool.semantic_release] version_toml = ["pyproject.toml:project.version"] build_command = "pip install build && python -m build" +tag_format = "v{version}" [tool.semantic_release.branches.main] match = "main"