Changelog: Include new group in footer (#3309)
This commit is contained in:
parent
47910787e6
commit
c876b11943
@ -4,7 +4,7 @@ const { JSDOM } = require('jsdom');
|
|||||||
const { gitlogPromise } = require('gitlog');
|
const { gitlogPromise } = require('gitlog');
|
||||||
|
|
||||||
// CONSTANTS
|
// CONSTANTS
|
||||||
|
const SKIP_CHANGELOG_UPDATE = process.env.SKIP_CHANGELOG_UPDATE === 'true';
|
||||||
const AUTH_TOKEN = process.env.TELEGRAPH_TOKEN;
|
const AUTH_TOKEN = process.env.TELEGRAPH_TOKEN;
|
||||||
const version = require('../package.json').version;
|
const version = require('../package.json').version;
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ const pageTemplate = `
|
|||||||
<h3>Commits since ${version}</h3>\
|
<h3>Commits since ${version}</h3>\
|
||||||
<p><i>This list is automatically updated when a new commit pushed to the beta repo</i></p>\
|
<p><i>This list is automatically updated when a new commit pushed to the beta repo</i></p>\
|
||||||
<ul id="list"></ul>\
|
<ul id="list"></ul>\
|
||||||
<aside><a href="https://t.me/webatalks">Web A Discussion</a> <b>|</b> <a href="https://t.me/webatalksru">Web A Обсуждение</a></aside>\
|
<aside><a href="https://t.me/webatalks">Web A Discussion</a> <b>|</b> <a href="https://t.me/webatalksru">Web A Обсуждение</a> <b>|</b> <a href="https://t.me/webatalksuk">Web A Обговорення</a></aside>\
|
||||||
<aside><i>Last update: ${new Date().toLocaleDateString('en-CA')}</i></aside>\
|
<aside><i>Last update: ${new Date().toLocaleDateString('en-CA')}</i></aside>\
|
||||||
</body>
|
</body>
|
||||||
`.trim();
|
`.trim();
|
||||||
@ -34,7 +34,7 @@ function updateChangelog() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
updateChangelog();
|
if (!SKIP_CHANGELOG_UPDATE) updateChangelog();
|
||||||
|
|
||||||
// UTIL
|
// UTIL
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user