11 lines
285 B
TypeScript
11 lines
285 B
TypeScript
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());
|
|
})();
|