forgejo-helm/tools/changelog.mjs

9 lines
232 B
JavaScript
Raw Normal View History

2024-09-12 08:31:14 +02:00
import { getChangelog } from './changelog/util.js';
2023-01-04 16:00:59 +01:00
import fs from 'node:fs';
2023-01-04 16:00:59 +01:00
const file = process.argv[3]
? fs.createWriteStream(process.argv[3])
: process.stdout;
2024-09-25 10:49:06 +02:00
getChangelog(process.argv[2], !!process.argv[2]).pipe(file);