diff --git a/lib/multiSemanticRelease.js b/lib/multiSemanticRelease.js index ff2bed2..233c180 100644 --- a/lib/multiSemanticRelease.js +++ b/lib/multiSemanticRelease.js @@ -1,6 +1,6 @@ const { dirname } = require("path"); const semanticRelease = require("semantic-release"); -const { uniq } = require("lodash"); +const { uniq, omit } = require("lodash"); const { check } = require("./blork"); const getLogger = require("./getLogger"); const getSynchronizer = require("./getSynchronizer"); @@ -136,7 +136,7 @@ async function getPackage(path, { options: globalOptions, env, cwd, stdout, stde }); // Load the package-specific options. - const { options: pkgOptions } = await getConfig(dir); + const pkgOptions = omit(await getConfig(dir), "plugins", "tagFormat"); // The 'final options' are the global options merged with package-specific options. // We merge this ourselves because package-specific options can override global options.