forked from gary-kim/gcg-fork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfork.patch
26 lines (24 loc) · 1.23 KB
/
fork.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/lib/github_changelog_generator/generator/entry.rb b/lib/github_changelog_generator/generator/entry.rb
index ac85ea5..2ed260b 100644
--- a/lib/github_changelog_generator/generator/entry.rb
+++ b/lib/github_changelog_generator/generator/entry.rb
@@ -99,7 +99,7 @@ module GitHubChangelogGenerator
header += if newer_tag_name.equal?(@options[:unreleased_label])
"## [#{newer_tag_name}](#{release_url})\n\n"
else
- "## [#{newer_tag_name}](#{release_url}) (#{time_string})\n\n"
+ "## [#{newer_tag_name}](#{release_url}) - #{time_string}\n\n"
end
if @options[:compare_link] && older_tag_name
diff --git a/lib/github_changelog_generator/generator/section.rb b/lib/github_changelog_generator/generator/section.rb
index 538b2b1..a9be683 100644
--- a/lib/github_changelog_generator/generator/section.rb
+++ b/lib/github_changelog_generator/generator/section.rb
@@ -81,7 +81,7 @@ module GitHubChangelogGenerator
if @options[:usernames_as_github_logins]
"#{line} (@#{user['login']})"
else
- "#{line} ([#{user['login']}](#{user['html_url']}))"
+ "#{line} ([@#{user['login']}](#{user['html_url']}))"
end
end