ethers.js/misc/admin/src.ts/cmds/update-changelog.ts

11 lines
285 B
TypeScript
Raw Normal View History

2020-09-26 10:25:54 +03:00
import fs from "fs";
import { generate } from "../changelog";
import { colorify } from "../log";
import { resolve } from "../path";
(async function() {
console.log(colorify.bold("Updating CHANGELOG.md..."));
fs.writeFileSync(resolve("CHANGELOG.md"), await generate());
})();