Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change slack flag to boolean #96

Merged
merged 1 commit into from
Dec 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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