diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f60ea55..fa8f8b3 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -244,6 +244,7 @@ jobs: if: steps.release.outputs.released == 'true' - name: Prepare dist + if: steps.release.outputs.released == 'true' run: | mkdir dist mv ./wheel-*/*.whl dist/ diff --git a/pyproject.toml b/pyproject.toml index c9d7bbc..85ef8ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,7 +109,7 @@ version_variables = [ ] [tool.semantic_release.branches.release] -match = 'release/v?[\\d\\.\\-]+' +match = '(main|release/v?[\\d\\.\\-]+)' prerelease = false [tool.semantic_release.commit_parser_options]