mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
[Release Script] Print a hint where to get the token (#26783)
I always forget where to get it.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user