Skip to content

Commit

Permalink
Update hook
Browse files Browse the repository at this point in the history
  • Loading branch information
papakvy committed Sep 16, 2024
1 parent 92d801c commit 0354f01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion chatopsify.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

# Uncomment to register a new dependency of your gem
# spec.add_dependency 'chatops', '~> 0.1'

spec.add_dependency 'capistrano', '~> 3.2', '>= 3.2.0'
spec.add_dependency 'tzinfo', '~> 1.1'
spec.add_development_dependency 'bundler', '~> 2'
spec.add_development_dependency 'rake', '~> 1'

Expand Down
8 changes: 4 additions & 4 deletions lib/capistrano/tasks/chatopsify.cap
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ namespace :chatops do
end
end
end
# before 'deploy:starting', 'chatops:notify_started'
before 'rbenv:validate', 'chatops:notify_started'
before 'deploy:starting', 'chatops:notify_started'
# before 'rbenv:validate', 'chatops:notify_started'

desc "Notify ChatOps Finished"
task :notify_finished do
Expand All @@ -22,8 +22,8 @@ namespace :chatops do
end
end
end
# after 'deploy:finished', 'chatops:notify_finished'
before 'deploy:failed', 'chatops:notify_finished'
after 'deploy:finished', 'chatops:notify_finished'
# before 'deploy:failed', 'chatops:notify_finished'

desc "Notify ChatOps Finished"
task :notify_failed do
Expand Down
2 changes: 1 addition & 1 deletion lib/chatopsify/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Chatopsify
VERSION = '0.0.1'
VERSION = '0.0.4'
end

0 comments on commit 0354f01

Please sign in to comment.