21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# File 'lib/committer-tools.rb', line 21
def run(github_pr, metadata)
check_to_land(github_pr, metadata)
introduce_commit(github_pr, metadata)
puts "[\u{2714}] Commit(s) applied locally. Please update to your liking, and then type 'continue'."
continue = gets.strip!
while !continue do
sleep
end
if continue && continue == 'continue'
add_metadata_to_commit(metadata)
validate_commit
puts "\n[\u{2714}] Landed in #{`git rev-list upstream/master...HEAD`} -- committer-tools is done! Edit away to your content, and then push away :)"
end
end
|