Skip to content

Commit

Permalink
Merge pull request #96 from hipstersmoothie/fix
Browse files Browse the repository at this point in the history
Change slack flag to boolean
  • Loading branch information
hipstersmoothie authored Dec 17, 2018
2 parents 3ae2ab7 + 446ef58 commit bea42c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/auto-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/cli/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down

0 comments on commit bea42c7

Please sign in to comment.