Skip to content

Commit

Permalink
docs: changesets use GITHUB_TOKEN env
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jul 22, 2022
1 parent 906152a commit 41e8805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ This project is managed by [changesets][], so packages releasing is controlled b
1. There will be a release PR generated by [changesets][]'s [action](https://github.com/changesets/action) automatically, when the release is ready, you should merge that PR firstly.
2. Then you'll need to pull the latest codes from remote.
3. Make sure you have both GitHub repository and npm write permissions at the same time.
4. You need a GitHub token with a `public_repo` scope as `GH_TOKEN` in the environment to publish
5. Run `yarn release` simply, or `GH_TOKEN=xxx yarn release` to export `GH_TOKEN` at one time.
4. You need a GitHub token with a `public_repo` scope as `GITHUB_TOKEN` in the environment to publish
5. Run `yarn release` simply, or `GITHUB_TOKEN=xxx yarn release` to export `GITHUB_TOKEN` at one time.

[changesets]: https://github.com/changesets/changesets
[contributing]: https://mdxjs.com/contributing

0 comments on commit 41e8805

Please sign in to comment.