forked from svrjs/svrjs
Make change log for specific SVR.JS version generated by the build script
This commit is contained in:
parent
1001d6ca41
commit
79f8f2ddf9
3 changed files with 10 additions and 4 deletions
|
@ -9,7 +9,7 @@ const dependencies =
|
|||
const requiredDependencyList = Object.keys(dependencies);
|
||||
let dependencyList = Object.keys(dependencies);
|
||||
const svrjsInfo = JSON.parse(fs.readFileSync(__dirname + "/svrjs.json"));
|
||||
const { name, version, documentationURL } = svrjsInfo;
|
||||
const { name, version, documentationURL, changes } = svrjsInfo;
|
||||
|
||||
// Function to find and add all dependencies into the dependencyList array.
|
||||
function findAllDependencies(curList) {
|
||||
|
@ -119,6 +119,7 @@ const indexPage = layoutTemplate({
|
|||
name: name,
|
||||
version: version,
|
||||
documentationURL: documentationURL,
|
||||
changes: changes,
|
||||
}),
|
||||
});
|
||||
|
||||
|
|
|
@ -2,5 +2,8 @@
|
|||
"version": "Nightly-GitNext",
|
||||
"name": "SVR.JS",
|
||||
"documentationURL": "https://svrjs.org/docs/tentative",
|
||||
"statisticsServerCollectEndpoint": "https://statistics.svrjs.org/collect.svr"
|
||||
"statisticsServerCollectEndpoint": "https://statistics.svrjs.org/collect.svr",
|
||||
"changes": [
|
||||
"INSERT CHANGES THERE"
|
||||
]
|
||||
}
|
|
@ -78,7 +78,9 @@
|
|||
</code>
|
||||
<p>Changes:</p>
|
||||
<ul style="display: inline-block; margin: 0;">
|
||||
<li><i>INSERT CHANGES THERE</i></li>
|
||||
<% changes.forEach((change) => {%>
|
||||
<li><%= change %></li>
|
||||
<% }); %>
|
||||
</ul>
|
||||
<p>
|
||||
<a href="/tests.html">Tests</a><br />
|
||||
|
|
Reference in a new issue