diff --git a/scripts/get-next-version.js b/scripts/get-next-version.js index 7df1a699c371..8a9776a4671d 100644 --- a/scripts/get-next-version.js +++ b/scripts/get-next-version.js @@ -8,7 +8,8 @@ const currentVersion = require('../package.json').version const bump = Bluebird.promisify(bumpCb) const paths = ['packages', 'cli'] -let nextVersion +// allow the semantic next version to be overridden by environment +let nextVersion = process.env.NEXT_VERSION const getNextVersionForPath = async (path) => { const { releaseType } = await bump({ preset: 'angular', path })