Skip to content

Commit

Permalink
[Release Script] Print a hint where to get the token (facebook#26783)
Browse files Browse the repository at this point in the history
I always forget where to get it.
  • Loading branch information
gaearon authored and AndyPengc12 committed Apr 15, 2024
1 parent 30e6d58 commit 739011c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/release/publish-using-ci-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const CIRCLE_TOKEN = process.env.CIRCLE_CI_API_TOKEN;

if (!CIRCLE_TOKEN) {
console.error(
theme.error('Missing required environment variable: CIRCLE_CI_API_TOKEN')
theme.error(
'Missing required environment variable: CIRCLE_CI_API_TOKEN\n' +
'Grab it here: https://app.circleci.com/settings/user/tokens'
)
);
process.exit(1);
}
Expand Down

0 comments on commit 739011c

Please sign in to comment.