commit bot: noch ein Versuch
This commit is contained in:
parent
7e79b64818
commit
9d2f8a87ad
@ -3,7 +3,8 @@
|
|||||||
require 'xmpp4r'
|
require 'xmpp4r'
|
||||||
require 'xmpp4r/muc/helper/simplemucclient'
|
require 'xmpp4r/muc/helper/simplemucclient'
|
||||||
|
|
||||||
args = gets.chomp.split(/ /)
|
input = gets
|
||||||
|
args = input.strip.split(/ /)
|
||||||
oldrev = args[0]
|
oldrev = args[0]
|
||||||
newrev = args[1]
|
newrev = args[1]
|
||||||
refname = args[2]
|
refname = args[2]
|
||||||
@ -27,5 +28,6 @@ revs.each do |rev|
|
|||||||
message += "#{commit}\n"
|
message += "#{commit}\n"
|
||||||
end
|
end
|
||||||
|
|
||||||
sleep(2)
|
puts message
|
||||||
|
sleep(1)
|
||||||
muc.say(message)
|
muc.say(message)
|
Loading…
Reference in New Issue
Block a user