Commit 0fa5270f by Francisco Giordano

fix changelog editing script

parent 226c6bd8
...@@ -7,7 +7,8 @@ const fs = require('fs'); ...@@ -7,7 +7,8 @@ const fs = require('fs');
const cp = require('child_process'); const cp = require('child_process');
const pkg = require('../../package.json'); const pkg = require('../../package.json');
if (pkg.version.indexOf('-rc') !== -1) { const suffix = process.env.PRERELEASE_SUFFIX || "rc";
if (pkg.version.indexOf('-' + suffix) !== -1) {
process.exit(0); process.exit(0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment