Skip to content

Commit 44c8094

Browse files
Fix release workflow, remove duplicate publish.yml
- Fix logic bug in testpypi condition (missing parentheses) - Remove redundant publish.yml (release.yml handles both targets) Signed-off-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Deborah Jacob <deborah@botanu.ai>
1 parent 7d65915 commit 44c8094

File tree

2 files changed

+2
-83
lines changed

2 files changed

+2
-83
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ jobs:
6161
# -------------------------------------------------------------------
6262
publish-testpypi:
6363
needs: build
64-
if: |
64+
if: >-
6565
github.event_name == 'workflow_dispatch' && github.event.inputs.publish_target == 'testpypi'
66-
|| (github.event_name == 'push' && contains(github.ref, '-alpha') || contains(github.ref, '-beta') || contains(github.ref, '-rc'))
66+
|| (github.event_name == 'push' && (contains(github.ref, '-alpha') || contains(github.ref, '-beta') || contains(github.ref, '-rc')))
6767
runs-on: ubuntu-latest
6868
environment:
6969
name: testpypi

0 commit comments

Comments
 (0)