mirror of https://github.com/embarklabs/embark.git
build: do not use the `--all` option with `lerna changed` in the stable release script
This commit is contained in:
parent
110957f273
commit
58608db3d6
|
@ -211,13 +211,19 @@ const runCommand = (cmd, inherit = true, display) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The `--all` option is not supplied below because `lerna changed` is being
|
||||||
|
// used to calculate which packages should be tagged via:
|
||||||
|
// `npm dist-tag add [pkg]@[newStableVersion] nightly`
|
||||||
|
// Private packages are never tagged because dist-tags only pertain to
|
||||||
|
// packages published to the NPM registry. By tagging every newly released
|
||||||
|
// stable version of public packages as `nightly` (in addition to tagging as
|
||||||
|
// `latest`) we avoid version drift in nightly releases
|
||||||
const lernaChanged = [
|
const lernaChanged = [
|
||||||
`lerna`,
|
`lerna`,
|
||||||
`changed`,
|
`changed`,
|
||||||
(!forcePublish && `--conventional-graduate`) || ``,
|
(!forcePublish && `--conventional-graduate`) || ``,
|
||||||
(forcePublish && `--force-publish`) || ``,
|
(forcePublish && `--force-publish`) || ``,
|
||||||
`--json`,
|
`--json`
|
||||||
`--all`
|
|
||||||
].filter(str => !!str).join(` `);
|
].filter(str => !!str).join(` `);
|
||||||
|
|
||||||
let pkgsToTag;
|
let pkgsToTag;
|
||||||
|
|
Loading…
Reference in New Issue