chore: lint

This commit is contained in:
coderiaser 2026-03-17 20:43:43 +02:00
parent b28a070a28
commit 5c19ddba61
14 changed files with 33 additions and 8 deletions

View file

@ -19,10 +19,12 @@ await main();
async function main() {
const history = '## Version history\n\n';
const link = '//github.com/coderaiser/cloudcmd/releases/tag/';
const template = '- ' +
'*{{ date }}*, ' +
'**[v{{ version }}]' +
'(' + link +
'(' +
link +
'v{{ version }})**\n';
const {version} = Info;
@ -35,10 +37,11 @@ async function main() {
await replaceVersion('README.md', version, versionNew);
await replaceVersion('HELP.md', version, versionNew);
const historyNew = history + rendy(template, {
date: shortdate(),
version: versionNew,
});
const historyNew = history +
rendy(template, {
date: shortdate(),
version: versionNew,
});
await replaceVersion('HELP.md', history, historyNew);
}