Release 29.0.2
This commit is contained in:
parent
1f156547cf
commit
13bd8ea995
25 changed files with 7070 additions and 6940 deletions
|
@ -39,11 +39,14 @@ export default async function main(argv) {
|
|||
let baseUrl = `https://github.com/be5invis/Iosevka/blob/v${argv.version}/doc`;
|
||||
await GenerateChangeList(argv, out);
|
||||
out.log(
|
||||
`<table>` +
|
||||
`<table>\n` +
|
||||
`<tr><td align="center"><h1>` +
|
||||
`<a href="${baseUrl}/PACKAGE-LIST.md">View package list</a>` +
|
||||
`</h1></td></tr>` +
|
||||
`</table>`,
|
||||
`</h1></td></tr>\n` +
|
||||
`<tr><td align="center">` +
|
||||
`<a href="${baseUrl}/SHA-256.txt">SHA-256 hashes</a>` +
|
||||
`</td></tr>\n` +
|
||||
`</table>\n`,
|
||||
);
|
||||
await fs.promises.writeFile(argv.outputPath, out.data);
|
||||
}
|
||||
|
|
|
@ -18,19 +18,16 @@ setTimeout(
|
|||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
async function main() {
|
||||
const outMd = await glob("release-archives/*.md");
|
||||
if (outMd.length != 1) throw new Error("Expected exactly one .md file in release-archives");
|
||||
const sourcesPattern = process.argv[2];
|
||||
const outPath = process.argv[3];
|
||||
|
||||
const o = fs.createWriteStream(outMd[0], { flags: "a" });
|
||||
const o = fs.createWriteStream(outPath);
|
||||
|
||||
o.write("\n\n## SHA256 checksums\n\n");
|
||||
o.write("<details>\n\n");
|
||||
const zipFilesToArchive = (await glob("release-archives/*.zip")).sort();
|
||||
const zipFilesToArchive = (await glob(sourcesPattern)).sort();
|
||||
for (const filePath of zipFilesToArchive) {
|
||||
console.log(`Checking ${filePath}...`);
|
||||
o.write(`* \`${await hashFile(filePath)}\` ${path.basename(filePath)}\n`);
|
||||
o.write(`${await hashFile(filePath)}\t${path.basename(filePath)}\n`);
|
||||
}
|
||||
o.write("</details>\n\n");
|
||||
|
||||
o.end();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue