Skip to content

Commit

Permalink
ci: exit pre if needed (#12502)
Browse files Browse the repository at this point in the history
* ci: exit pre if needed

* bump changeset cli
  • Loading branch information
ascorbic authored Nov 22, 2024
1 parent b140a3f commit 3dc714a
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 101 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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@astrojs/check": "^0.9.4",
"@biomejs/biome": "1.9.3",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
"@changesets/cli": "^2.27.10",
"@types/node": "^18.17.8",
"esbuild": "^0.21.5",
"eslint": "^9.14.0",
Expand Down
Loading

0 comments on commit 3dc714a

Please sign in to comment.