From 4d029323d7324962d840847730c7939d85e5a009 Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Fri, 22 Nov 2024 10:52:12 +0000 Subject: [PATCH] ci: exit pre if needed --- .github/workflows/snapshot-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 6f813dbd37ef..5ea024824610 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -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)