Skip to content

Commit

Permalink
fix: explicit plugins option
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendargelos committed Dec 15, 2021
1 parent ab70d53 commit 872c099
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/npm',
'@semantic-release/github'
],
branches: [
'+([0-9])?(.{+([0-9]),x}).x',
'main',
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async function lernaRelease(

if (publish) {
const npmEnv = await npmConfigRegistry(
env.NPM_CONFIG_REGISTRY,
env.NPM_CONFIG_REGISTRY,
env.NPM_TOKEN
)

Expand All @@ -164,7 +164,7 @@ async function lernaRelease(
'--yes',
'--registry',
env.NPM_CONFIG_REGISTRY
], {
], {
env: { ...env, ...npmEnv }
})
}
Expand Down

0 comments on commit 872c099

Please sign in to comment.