Skip to content

Commit

Permalink
remove pre.json file before snapshot release
Browse files Browse the repository at this point in the history
  • Loading branch information
JoCa96 committed Dec 19, 2023
1 parent fe41538 commit 7ff6e7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ jobs:
- name: 📸 Snapshot and Publish
if: ${{ github.ref != 'refs/heads/main' }}
run: |
# [Snapshot release fails if repository is in pre-release mode](https://github.com/changesets/changesets/issues/1195)
rm -f .changeset/pre.json
npx changeset version --snapshot
npx changeset publish --tag snapshot

0 comments on commit 7ff6e7c

Please sign in to comment.