Skip to content

Commit 6a87e5d

Browse files
committed
CI: prevent snapshot release from branch
1 parent c1881a7 commit 6a87e5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
- name: Publish next snapshot
3939
if: steps.changesets.outputs.published != 'true'
4040
run: |
41+
git checkout master # reset current branch to master
4142
npm exec -- changeset version --snapshot next
4243
npm exec -- changeset publish --no-git-tag --snapshot --tag next
4344
env:

0 commit comments

Comments
 (0)