Skip to content

Commit e4494c6

Browse files
committed
fixing conditions
1 parent 591c14c commit e4494c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
git remote set-url origin https://x-access-token:${{ secrets.GH_ACCESS_TOKEN }}@github.com/${{ github.repository }}
3636
3737
- name: Merge main to stable and push tags
38-
if: ${{ !inputs.candidate }}
38+
if: ${{ !inputs.candidate && !inputs.test_pypi }}
3939
run: |
4040
make check-release
4141
make git-merge-main-stable
@@ -54,13 +54,13 @@ jobs:
5454
repository-url: ${{ inputs.test_pypi && 'https://test.pypi.org/legacy/' || 'https://pypi.org' }}
5555

5656
- name: Bump to next candidate
57-
if: ${{ inputs.candidate }}
57+
if: ${{ inputs.candidate && !inputs.test_pypi }}
5858
run: |
5959
make bumpversion-candidate
6060
make git-push
6161
6262
- name: Merge to main and bump to next patch
63-
if: ${{ !inputs.candidate }}
63+
if: ${{ !inputs.candidate && !inputs.test_pypi}}
6464
run: |
6565
make git-merge-stable-main
6666
make bumpversion-patch

0 commit comments

Comments
 (0)