diff --git a/docs/pages/auto-release.md b/docs/pages/auto-release.md index dd222f1be..a11fba396 100644 --- a/docs/pages/auto-release.md +++ b/docs/pages/auto-release.md @@ -32,7 +32,7 @@ Options --no-version-prefix Use the version as the tag without the 'v' prefix --jira string Jira base URL --use-version Version number to publish as. Defaults to reading from the package.json. - -s, --slack string Post a message to slack about the release. Make sure the SLACK_TOKEN + -s, --slack Post a message to slack about the release. Make sure the SLACK_TOKEN environment variable is set. Global Options diff --git a/src/cli/args.ts b/src/cli/args.ts index 8efb056ae..7890a203b 100644 --- a/src/cli/args.ts +++ b/src/cli/args.ts @@ -349,7 +349,7 @@ const commands: ICommand[] = [ { name: 'slack', alias: 's', - type: String, + type: Boolean, group: 'main', description: 'Post a message to slack about the release. Make sure the SLACK_TOKEN environment variable is set.'