Skip to content

Commit 872c099

Browse files
fix: explicit plugins option
1 parent ab70d53 commit 872c099

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

release.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
module.exports = {
2+
plugins: [
3+
'@semantic-release/commit-analyzer',
4+
'@semantic-release/release-notes-generator',
5+
'@semantic-release/npm',
6+
'@semantic-release/github'
7+
],
28
branches: [
39
'+([0-9])?(.{+([0-9]),x}).x',
410
'main',

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ async function lernaRelease(
153153

154154
if (publish) {
155155
const npmEnv = await npmConfigRegistry(
156-
env.NPM_CONFIG_REGISTRY,
156+
env.NPM_CONFIG_REGISTRY,
157157
env.NPM_TOKEN
158158
)
159159

@@ -164,7 +164,7 @@ async function lernaRelease(
164164
'--yes',
165165
'--registry',
166166
env.NPM_CONFIG_REGISTRY
167-
], {
167+
], {
168168
env: { ...env, ...npmEnv }
169169
})
170170
}

0 commit comments

Comments
 (0)