Skip to content

Commit

Permalink
feat(error): tell user where to create a GitHub token (#665)
Browse files Browse the repository at this point in the history
I was a little confused initially which permissions should be used.

Co-authored-by: Eunjae Lee <karis612@gmail.com>
  • Loading branch information
Haroenv and eunjae-lee authored Feb 24, 2020
1 parent 0be21af commit 901fcd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/shipjs/src/step/checkGitHubToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export default ({ dryRun }) =>
print(
error('You need to specify GITHUB_TOKEN as an environment variable.')
);
print('create a token with `repo` or `public_repo` permissions here:');
print('https://github.com/settings/tokens');
print(' 1. GITHUB_TOKEN=xxx shipjs ...');
print(' or');
print(' 2. Create a file named ".env" and put the following content:');
Expand Down

0 comments on commit 901fcd8

Please sign in to comment.