[ACS-2197] changelog generation with ADF CLI (#7350)

* print app version instead of error

* initial diff implementation

* markdown rendering

* render md output

* html output

* configurable exclude filter

* provide docs
This commit is contained in:
Denys Vuika
2021-11-05 08:24:53 +00:00
committed by GitHub
parent 3421600e16
commit 695c6cd8d6
7 changed files with 296 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Changelog for <%= projName %> v<%= projVersion %></title>
</head>
<body>
<h1>Changelog</h1>
<ul>
<% for(var idx in commits) {
commit = commits[idx];
-%>
<li>
<a href="<%= repo_url %>/commit/<%= commit.hash %>">[<%= commit.hash %>]</a> <%= commit.subject %>
</li>
<% } %>
</ul>
</body>
</html>