Skip to content

Commit

Permalink
Add changelog support, fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolique committed Dec 16, 2023
1 parent 018574a commit 413235e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ const config = [
{ src: 'README.md', dest: 'apos-docs/docs/README.md' },
];

if (fs.existsSync('CHANGELOG.md')) {
config.push({src: 'CHANGELOG.md', dest: 'apos-docs/docs/changelog.md'});
}

fs.emptyDirSync('apos-docs');

for (const c of config) {
Expand Down

0 comments on commit 413235e

Please sign in to comment.