Skip to content

Commit

Permalink
ci: exit pre if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Nov 22, 2024
1 parent b140a3f commit 4d02932
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ jobs:
id: publish
run: |
GITHUB_ACTIONS=0 pnpm run build > build.output.txt 2>&1
# Snapshots don't work in pre mode. See https://github.com/changesets/changesets/issues/1195
pnpm exec changeset pre exit || true
pnpm exec changeset publish --tag experimental--${{ steps.getSnapshotName.outputs.result }} > publish.output.txt 2>&1
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
Expand Down

0 comments on commit 4d02932

Please sign in to comment.