Skip to content

Commit ebabf46

Browse files
committed
chore(release): fix semantic release config missing npm plugin
1 parent 9c50bbb commit ebabf46

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

release.config.mjs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ const semanticReleaseConfig = {
5757
},
5858
],
5959
[
60-
'@semantic-release/exec',
60+
'@semantic-release/npm',
6161
{
62-
publishCmd: './scripts/publish.sh ${nextRelease.version}',
62+
npmPublish: false,
63+
tarballDir: 'dist',
6364
},
6465
],
6566
[
@@ -80,6 +81,12 @@ const semanticReleaseConfig = {
8081
message: 'chore(release): ${nextRelease.version} [skip ci]',
8182
},
8283
],
84+
[
85+
'@semantic-release/exec',
86+
{
87+
publishCmd: './scripts/publish.sh ${nextRelease.version}',
88+
},
89+
],
8390
],
8491
}
8592

0 commit comments

Comments
 (0)