This commit is contained in:
Petr Korolev 2016-02-23 11:41:43 +02:00
parent 259105f265
commit 73cba095b2

View File

@ -58,7 +58,7 @@ module GitHubChangelogGenerator
if @since_tag.nil? && @options[:base] && File.file?(@options[:base]) if @since_tag.nil? && @options[:base] && File.file?(@options[:base])
reader = GitHubChangelogGenerator::Reader.new reader = GitHubChangelogGenerator::Reader.new
content = reader.read(@options[:base]) content = reader.read(@options[:base])
@since_tag = content[0]["version"] if content @since_tag = content[0]["version"] if content.count && content
end end
@since_tag @since_tag
end end