changelog and final build

This commit is contained in:
2026-05-29 13:50:09 +08:00
parent 80f155dfe8
commit 2ca858cfa4
10 changed files with 129 additions and 77 deletions

View File

@@ -1,20 +0,0 @@
const fs = require('fs');
const path = require('path');
const root = path.resolve(__dirname, '..');
const changelogPath = path.join(root, 'CHANGELOG.md');
const readmePath = path.join(root, 'README.md');
let changelog = '# CHANGELOG\n\nNo changelog entries yet.';
if (fs.existsSync(changelogPath)) {
changelog = fs.readFileSync(changelogPath, 'utf8').trim();
}
const readme = `# HPL Toolbox
Bundled VS Code extension and standalone tools for playable ad workflows.
${changelog}
`;
fs.writeFileSync(readmePath, readme.replace(/\r?\n/g, '\n'), 'utf8');