Skip to content

Commit

Permalink
chore: update pre-release cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jjburbridge committed Nov 28, 2024
1 parent 880eefd commit 48e09ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
- run: yarn install --frozen-lockfile
- run: npm audit signatures
# set current branch
- run: echo '{"extends": "@sanity/semantic-release-preset","branches": ["main", {"name": "canary", "prerelease": true}, {“name”: "'${{github.ref_name}}'", “prerelease”: true}]}' > .releaserc.json && npx semantic-release
- run: echo format('{"extends": "@sanity/semantic-release-preset","branches": ["main", {"name": "canary", "prerelease": true}, {“name”: "{0}"", “prerelease”: true}]}',github.ref_name) > .releaserc.json && npx semantic-release
# Don't allow interrupting the release step if the job is cancelled, as it can lead to an inconsistent state
# e.g. git tags were pushed but it exited before `npm publish`
if: always()
Expand Down

0 comments on commit 48e09ae

Please sign in to comment.