From 4abf4d90b40287613cd77022aa4f2fb384db6819 Mon Sep 17 00:00:00 2001 From: Esteban Beltran Date: Fri, 28 Oct 2022 19:44:59 +0200 Subject: [PATCH] Toolkit: Deprecate `plugin:github-publish` command (#57726) * Toolkit: Deprecate `plugin:github-publish` command * Remove wrong console log message * Update link to recommended workflows --- packages/grafana-toolkit/src/cli/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/grafana-toolkit/src/cli/index.ts b/packages/grafana-toolkit/src/cli/index.ts index 2af7de36734..1d95bde692f 100644 --- a/packages/grafana-toolkit/src/cli/index.ts +++ b/packages/grafana-toolkit/src/cli/index.ts @@ -236,6 +236,10 @@ export const run = (includeInternalScripts = false) => { .option('--commitHash ', 'Specify the commit hash') .description('Publish to github') .action(async (cmd) => { + chalk.yellow.bold(`⚠️ This command is deprecated and will be removed . No further support will be provided. ⚠️`); + console.log( + 'We recommend using github actions directly for plugin releasing. You can find an example here: https://github.com/grafana/plugin-tools/tree/main/packages/create-plugin/templates/github/ci/.github/workflows' + ); await execTask(githubPublishTask)({ dryrun: cmd.dryrun, verbose: cmd.verbose,