Merge pull request #45 from sugamasao/fix/link-tag-format

fix link tag format
This commit is contained in:
Petr Korolev
2015-01-21 19:13:13 +01:00
+1 -1
View File
@@ -321,7 +321,7 @@ module GitHubChangelogGenerator
github_site = options[:github_site] || 'https://github.com' github_site = options[:github_site] || 'https://github.com'
# Generate tag name and link # Generate tag name and link
log = "## [#{tag_name}] (#{github_site}/#{@options[:user]}/#{@options[:project]}/tree/#{tag_name})\n" log = "## [#{tag_name}](#{github_site}/#{@options[:user]}/#{@options[:project]}/tree/#{tag_name})\n"
#Generate date string: #Generate date string:
time_string = tag_time.strftime @options[:format] time_string = tag_time.strftime @options[:format]