From 09068985a8e030aad763690aa18d3ef0a478780e Mon Sep 17 00:00:00 2001 From: Josh Wooding <12938082+joshwooding@users.noreply.github.com> Date: Tue, 28 May 2024 09:03:02 +0100 Subject: [PATCH] Fix snapshots not working in pre mode --- .github/workflows/snapshot.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 052aa1ecf..d564028fc 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -84,6 +84,8 @@ jobs: - name: Install dependencies run: yarn install + - name: Exit pre mode if pre.json exists + run: rm -f .changeset/pre.json - name: Create and publish snapshot release uses: actions/github-script@v7 env: