Skip to content

Commit

Permalink
Fix automatic mode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonk committed Dec 7, 2021
1 parent a61b5e6 commit 82d3a8b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ adheres to [Semantic Versioning][semver].

## [Unreleased]

## [v1.0.9] - 2021-12-06

- Fix issue with automatic mode not working with `--say`/`--message`.

## [v1.0.8] - 2021-12-01

- Add a `checklist` builder.
Expand Down Expand Up @@ -60,8 +64,8 @@ adheres to [Semantic Versioning][semver].

- First actual release.

[Unreleased]: https://github.com/jasonk/inform-slack/compare/v1.0.8...HEAD
[v1.0.8]: https://github.com/jasonk/inform-slack/releases/tag/v1.0.8
[Unreleased]: https://github.com/jasonk/inform-slack/compare/v1.0.9...HEAD
[v1.0.9]: https://github.com/jasonk/inform-slack/releases/tag/v1.0.9
[v1.0.7]: https://github.com/jasonk/inform-slack/releases/tag/v1.0.7
[v1.0.6]: https://github.com/jasonk/inform-slack/releases/tag/v1.0.6
[v1.0.5]: https://github.com/jasonk/inform-slack/releases/tag/v1.0.5
Expand Down
2 changes: 1 addition & 1 deletion bin/inform-slack
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# https://github.com/jasonk/inform-slack

export INFORM_SLACK_VERSION="v1.0.8"
export INFORM_SLACK_VERSION="v1.0.9"

export INFORM_SLACK_SELF="$(realpath -P "${BASH_SOURCE[0]}")"
export INFORM_SLACK_DIR="$(cd -P "$(dirname "$INFORM_SLACK_SELF")/.." && pwd)"
Expand Down
2 changes: 1 addition & 1 deletion lib/inform-slack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ inform_slack() {
-u|--update) MODE="update" ; shift 1 ;;
-A|--auto|--automatic) MODE="automatic" ; shift 1 ;;

--say|--message) MODE="auto" ; BUILDER="message" ; shift 1 ;;
--say|--message) MODE="automatic" ; BUILDER="message" ; shift 1 ;;

--) shift 1 ; break ;;
-*) die "Unknown option '$1'" ;;
Expand Down

0 comments on commit 82d3a8b

Please sign in to comment.