From efb381bbf981aedbf4eb9e1bd0e6e30abce266d1 Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 5 May 2023 20:08:14 +0100 Subject: [PATCH] [Release Script] Print a hint where to get the token (#26783) I always forget where to get it. --- scripts/release/publish-using-ci-workflow.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/release/publish-using-ci-workflow.js b/scripts/release/publish-using-ci-workflow.js index 5d2cc68dba..33ca8d3dad 100644 --- a/scripts/release/publish-using-ci-workflow.js +++ b/scripts/release/publish-using-ci-workflow.js @@ -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); }