Skip to content

Commit

Permalink
ci(release): fix stable release cargo-publish permissive step
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed May 7, 2024
1 parent 8d56e4b commit fb767f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@ 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: github.ref_name == 'stable'
run: sed -i '' '/^\[workspace\]/,/^\[/ {/^publish = false$/d;}' release-plz.toml

run: |
ls -la
sed -i '/^\[workspace\]/,/^\[/ {/^publish = false$/d;}' ./release-plz.toml
- name: publish and release
shell: bash
Expand Down

0 comments on commit fb767f8

Please sign in to comment.