From 50a278f9b8190ac29e17869d2e48678f1e48dff4 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 11 Jan 2024 12:04:56 +0100 Subject: [PATCH] fix(fluentui-publis): remove dist-tag leftover from options as canary was removed --- scripts/fluentui-publish/index.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/fluentui-publish/index.ts b/scripts/fluentui-publish/index.ts index d2dca7aa1e9f0..c34377feecfb9 100644 --- a/scripts/fluentui-publish/index.ts +++ b/scripts/fluentui-publish/index.ts @@ -6,7 +6,7 @@ import * as yargs from 'yargs'; main(); -function fluentuiLernaPublish(bumpType: 'patch' | 'minor', skipConfirm = false, npmTagForCanary = 'beta') { +function fluentuiLernaPublish(bumpType: 'patch' | 'minor', skipConfirm = false) { const fluentRoot = path.resolve(workspaceRoot, 'packages', 'fluentui'); let lernaPublishArgs: string[]; @@ -87,14 +87,14 @@ function main() { const command = args._[0]; if (command === 'bump') { - const { semverType, yes, distTag, postValidate } = args as unknown as { + const { semverType, yes, postValidate } = args as unknown as { semverType: 'patch' | 'minor'; distTag?: string; yes: boolean; postValidate: boolean; }; - fluentuiLernaPublish(semverType, yes, distTag); + fluentuiLernaPublish(semverType, yes); postValidate && fluentuiPostPublishValidation(); return; @@ -122,10 +122,6 @@ function processArgs() { type: 'boolean', default: true, description: 'execute validation steps after publish', - }) - .option('dist-tag', { - type: 'string', - description: 'tag for canary release', }); }) .demandCommand(1)