mirror of https://github.com/sualko/cloud_bbb
chore: require changelog entry only for stable release
parent
c60cc66141
commit
8b7ef8dcc4
|
@ -147,7 +147,7 @@ function hasChangeLogEntry() {
|
||||||
fs.readFile(path.join(__dirname, '..', 'CHANGELOG.md'), function (err, data) {
|
fs.readFile(path.join(__dirname, '..', 'CHANGELOG.md'), function (err, data) {
|
||||||
if (err) throw err;
|
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}`;
|
throw `Found no change log entry for ${package.version}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue