File tree Expand file tree Collapse file tree 1 file changed +6
-20
lines changed
Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -30,28 +30,14 @@ Please follow the best-practice of adding changesets in the same commit as the c
3030
3131## Snapshot instructions
3232
33- !MAKE SURE TO UPDATE THE TAG IN THE INSTRUCTIONS BELOW!
33+ 1 . Delete the ` .changeset/pre.json ` file (if it exists)
3434
35- 1 . Add changesets as usual
35+ 2 . Do a temporary commit (do NOT push this, you should undo it after)
3636
37- ``` sh
38- pnpm run changeset:add
39- ```
37+ 3 . Copy the ` GITHUB_TOKEN ` line from the .env file
4038
41- 2 . Create a snapshot version (replace " prerelease" with your tag)
39+ 4 . Run ` GITHUB_TOKEN=github_pat_12345 ./scripts/publish- prerelease.sh re2 `
4240
43- ``` sh
44- pnpm exec changeset version --snapshot prerelease
45- ```
41+ Make sure to replace the token with yours. ` re2 ` is the tag that will be used for the pre-release.
4642
47- 3 . Build the packages:
48-
49- ``` sh
50- pnpm run build --filter " @trigger.dev/*" --filter " trigger.dev"
51- ```
52-
53- 4 . Publish the snapshot (replace "dev" with your tag)
54-
55- ``` sh
56- pnpm exec changeset publish --no-git-tag --snapshot --tag prerelease
57- ```
43+ 5 . Undo the commit where you deleted the pre.json file.
You can’t perform that action at this time.
0 commit comments