mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 14:56:17 -04:00
chore(release): create a github release on new version
This commit is contained in:
parent
85cb0ffabd
commit
dbad7730f9
8 changed files with 356 additions and 819 deletions
6
scripts/getLatestChangelog.mjs
Normal file
6
scripts/getLatestChangelog.mjs
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { readFile } from 'fs/promises';
|
||||
|
||||
const changelogContent = await readFile('./CHANGELOG.md', 'utf-8');
|
||||
const [, lastChangelog] = changelogContent.split(/^## .*$/gm);
|
||||
|
||||
console.log(lastChangelog.trim());
|
Loading…
Add table
Add a link
Reference in a new issue