diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3250a378..e27ee41b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -37,5 +37,4 @@ jobs: uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: user: __token__ - password: ${{ secrets.TEST_PYPI_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index de30502a..9ec202da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,8 +106,8 @@ commit_message = "chore(release): v{version} [skip ci]" [tool.semantic_release.branches.main] match = "(main)" + +[tool.semantic_release.branches."Release Candidates"] +match = "(rc_*)" prerelease_token = "rc" prerelease = true - -[tool.semantic_release.changelog.environment] -newline_sequence = "\n"