We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2f0ea1 commit 9bcbd18Copy full SHA for 9bcbd18
.github/workflows/release.yml
@@ -78,7 +78,8 @@ jobs:
78
- name: Compute release flags
79
id: determine
80
run: |
81
- pnpm changeset status --output=changeset-status.json
+ # Changesets can error on PR merge refs; tolerate and default to no pre mode
82
+ pnpm changeset status --output=changeset-status.json || echo '{}' > changeset-status.json
83
PRE=$(jq -r '.preState.mode // ""' changeset-status.json)
84
rm -f changeset-status.json
85
echo "is_prerelease=$([[ $PRE = 'pre' ]] && echo true || echo false)" >> $GITHUB_OUTPUT
0 commit comments