Skip to content

Commit

Permalink
ci: allow workflow action release to trigger publish on stable branches
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Jun 3, 2024
1 parent 64bc3a5 commit 49f13ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
# only publish if we're on the stable branch
- name: Conditionally remove 'publish = false' from workspace in release-plz.toml on stable branch
if: startsWith(github.ref_name, 'stable') && github.event_name != 'workflow_dispatch'
if: startsWith(github.ref_name, 'stable')
run: |
ls -la
sed -i '/^\[workspace\]/,/^\[/ {/^publish = false$/d;}' ./release-plz.toml
Expand All @@ -162,7 +162,7 @@ jobs:
# only publish if we're on the stable branch
- name: Conditionally remove 'git_release_draft = true' from workspace in release-plz.toml on stable branch
if: startsWith(github.ref_name, 'stable') && github.event_name != 'workflow_dispatch'
if: startsWith(github.ref_name, 'stable')
run: |
- name: upload to s3
Expand Down

0 comments on commit 49f13ac

Please sign in to comment.