Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-exz committed Dec 23, 2024
1 parent c49b79c commit e210158
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## 0.18.2
### Bugfixes
- Fixing version display in help

## 0.18.1
### Bugfixes
- DB migration fixes
Expand Down
4 changes: 2 additions & 2 deletions bot/commands/answer_set_custom_text.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module WhoIsOnDutyTodaySlackBotModule
module Commands
class AnswerSetCustomText
DESCRIPTION = 'Will configure custom text in answers from the bot.'.freeze
EXAMPLE = 'Usage: `answer set custom text nobody will help you, wait for next day`'.freeze
DESCRIPTION = 'Will configure custom text in answers from the bot. type:non_working_time/working_time'.freeze
EXAMPLE = 'Usage: `cibot answer set custom text type:non_working_time text:This is the custom text for non working hours.`'.freeze
def self.call(client:, data:, match:)
expression = match['expression']

Expand Down
2 changes: 1 addition & 1 deletion bot/commands/help.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Help

def self.call(client:, data:)
help_text = generate_help_text
version_info = "Running version: #{ENV['VERSION']} | <https://github.com/mr-exz/whoisondutytoday|GitHub> | <https://github.com/mr-exz/whoisondutytoday/blob/master/CHANGELOG.md|Changelog>"
version_info = "Running version: #{Whoisondutytoday::Application::VERSION} | <https://github.com/mr-exz/whoisondutytoday|GitHub> | <https://github.com/mr-exz/whoisondutytoday/blob/master/CHANGELOG.md|Changelog>"

client.web_client.chat_postMessage(
channel: data.channel,
Expand Down

0 comments on commit e210158

Please sign in to comment.