[Release Script] Print a hint where to get the token (#26783)
I always forget where to get it.
dan committed
May 5, 2023 at 20:08 UTC
efb381bbf981aedbf4eb9e1bd0e6e30abce266d1
1 file changed
+4
-1
scripts/release/publish-using-ci-workflow.js
+4
-1
@@ -9,7 +9,10 @@ const CIRCLE_TOKEN = process.env.CIRCLE_CI_API_TOKEN;
9
10
if (!CIRCLE_TOKEN) {
11
console.error(
12
- theme.error('Missing required environment variable: CIRCLE_CI_API_TOKEN')
12
+ theme.error(
13
+ 'Missing required environment variable: CIRCLE_CI_API_TOKEN\n' +
14
+ 'Grab it here: https://app.circleci.com/settings/user/tokens'
15
+ )
16
);
17
process.exit(1);
18
}