chore: require changelog entry only for stable release

pull/120/head
sualko 2021-01-26 10:47:48 +01:00
parent c60cc66141
commit 8b7ef8dcc4
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ function hasChangeLogEntry() {
fs.readFile(path.join(__dirname, '..', 'CHANGELOG.md'), function (err, data) {
if (err) throw err;
if (!data.includes(`## ${package.version}`)) {
if (!data.includes(`## ${package.version}`) && /^\d+\.\d+\.\d+$/.test(package.version)) {
throw `Found no change log entry for ${package.version}`;
}