Make dry-run configurable from top-level package.json
This commit is contained in:
parent
c6f85464ce
commit
d187a31e38
@ -12,7 +12,7 @@
|
||||
"lerna:run": "lerna run",
|
||||
"lerna:rebuild": "lerna run clean; lerna run build;",
|
||||
"lerna:publish":
|
||||
"yarn install; yarn lerna:rebuild; node ./packages/monorepo-scripts/lib/publish.js"
|
||||
"yarn install; yarn lerna:rebuild; IS_DRY_RUN=false node ./packages/monorepo-scripts/lib/publish.js"
|
||||
},
|
||||
"config": {
|
||||
"mnemonic": "concert load couple harbor equip island argue ramp clarify fence smart topic"
|
||||
|
@ -13,7 +13,7 @@ import { constants } from './constants';
|
||||
import { Changelog, Changes, SemVerIndex, UpdatedPackage } from './types';
|
||||
import { utils } from './utils';
|
||||
|
||||
const IS_DRY_RUN = false;
|
||||
const IS_DRY_RUN = process.env.IS_DRY_RUN === 'false';
|
||||
const TODAYS_TIMESTAMP = moment().unix();
|
||||
const LERNA_EXECUTABLE = './node_modules/lerna/bin/lerna.js';
|
||||
const semverNameToIndex: { [semver: string]: number } = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user