Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions CHANGESETS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@ Please follow the best-practice of adding changesets in the same commit as the c

## Snapshot instructions

1. Delete the `.changeset/pre.json` file (if it exists)
1. Update the `.changeset/config.json` file to set the `"changelog"` field to this:

2. Do a temporary commit (do NOT push this, you should undo it after)
```json
"changelog": "@changesets/cli/changelog",
```

3. Copy the `GITHUB_TOKEN` line from the .env file
2. Do a temporary commit (do NOT push this, you should undo it after)

4. Run `GITHUB_TOKEN=github_pat_12345 ./scripts/publish-prerelease.sh re2`
3. Run `./scripts/publish-prerelease.sh prerelease`

Make sure to replace the token with yours. `re2` is the tag that will be used for the pre-release.
You can choose a different tag if you want, but usually `prerelease` is fine.

5. Undo the commit where you deleted the pre.json file.
5. Undo the commit where you updated the config.json file.
Loading