Skip to content

Commit da10ba9

Browse files
committed
Added instructions for how to do Changeset snapshots
1 parent 5aeef12 commit da10ba9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CHANGESETS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,12 @@ Please follow the best-practice of adding changesets in the same commit as the c
2727
3. Create version `pnpm run changeset:version`
2828
4. Release `pnpm run changeset:release`
2929
5. Switch back to normal mode by running `pnpm run changeset:normal`
30+
31+
## Snapshot instructions
32+
33+
!MAKE SURE TO UPDATE THE TAG IN THE INSTRUCTIONS BELOW!
34+
35+
1. Add changesets as usual `pnpm run changeset:add`
36+
2. Create a snapshot version (replace "dev" with your tag) `pnpm exec changeset version --snapshot dev`
37+
3. Build the packages: `pnpm run build --filter "@trigger.dev/*"`
38+
4. Publish the snapshot (replace "dev" with your tag) `pnpm exec changeset publish --no-git-tag --snapshot --tag dev`

0 commit comments

Comments
 (0)