Merge branch 'hotfix/fix-57' into develop
This commit is contained in:
commit
059d6daf6a
|
@ -85,8 +85,13 @@ module GitHubChangelogGenerator
|
||||||
if event[:commit_id].nil?
|
if event[:commit_id].nil?
|
||||||
issue[:actual_date] = issue[:closed_at]
|
issue[:actual_date] = issue[:closed_at]
|
||||||
else
|
else
|
||||||
commit = @github.git_data.commits.get @options[:user], @options[:project], event[:commit_id]
|
begin
|
||||||
issue[:actual_date] = commit[:author][:date]
|
commit = @github.git_data.commits.get @options[:user], @options[:project], event[:commit_id]
|
||||||
|
issue[:actual_date] = commit[:author][:date]
|
||||||
|
rescue
|
||||||
|
puts "Warning: can't fetch commit #{event[:commit_id]} probably it referenced from another repo."
|
||||||
|
issue[:actual_date] = issue[:closed_at]
|
||||||
|
end
|
||||||
end
|
end
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module GitHubChangelogGenerator
|
module GitHubChangelogGenerator
|
||||||
VERSION = '1.3.1'
|
VERSION = '1.3.2'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user