[Release Script] Print a hint where to get the token (#26783)

I always forget where to get it.
This commit is contained in:
dan
2023-05-05 20:08:14 +01:00
committed by GitHub
parent b00e27342d
commit efb381bbf9

View File

@@ -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);
}