Wrap in if __FILE__ == $0
This commit is contained in:
parent
b3dfa00ec5
commit
a52f961935
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
require_relative 'log_generator'
|
require_relative 'log_generator'
|
||||||
|
|
||||||
|
if __FILE__ == $0
|
||||||
generator = LogGenerator.new
|
generator = LogGenerator.new
|
||||||
|
|
||||||
tag_time = generator.findPrevTagDate
|
tag_time = generator.findPrevTagDate
|
||||||
|
@ -14,3 +15,4 @@ pull_requests.delete_if { |req|
|
||||||
}
|
}
|
||||||
|
|
||||||
generator.compund_changelog(tag_time, pull_requests)
|
generator.compund_changelog(tag_time, pull_requests)
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user