mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
21
lib/cli/templates/changelog-html.ejs
Normal file
21
lib/cli/templates/changelog-html.ejs
Normal 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>
|
Reference in New Issue
Block a user