File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,15 @@ def render_changelog_header():
7676 print ("<a name=\" " + curr_tag + "\" ></a>" )
7777 print ("## [" + curr_tag + "](https://github.com/" + project_slug + "/compare/" + prev_tag + "..." + curr_tag + ")" )
7878
79+ def render_link_to_detailed_changes ():
80+ since = get_commit_for_second_last_tag ()
81+ until = get_commit_for_last_tag ()
82+
83+ prev_tag = tag_at_commit (since )
84+ curr_tag = tag_at_commit (until )
85+
86+ print ("\n \n :mag: [View detailed changes since the previous release]" + "(https://github.com/" + project_slug + "/compare/" + prev_tag + "..." + curr_tag + ")" )
87+
7988def render_changelog (log ):
8089 changes_by_type = dict ()
8190
@@ -99,8 +108,9 @@ def main(args):
99108 else :
100109 log = get_commits ()
101110
102- render_changelog_header ()
111+ # render_changelog_header()
103112 render_changelog (log )
113+ render_link_to_detailed_changes ()
104114
105115
106116if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments