Skip to content

Commit f8e4629

Browse files
committed
ci: refactor publish command in release configuration
1 parent 1b79465 commit f8e4629

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

release.config.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ const config = {
1212
"@semantic-release/exec",
1313
{
1414
prepareCmd: "pnpm install --no-frozen-lockfile",
15+
publishCmd:
16+
"pnpm publish --no-git-checks --tag ${nextRelease.channel || 'latest'}",
1517
},
1618
],
1719
["@semantic-release/npm", { npmPublish: false }],
18-
[
19-
"@semantic-release/exec",
20-
{
21-
publishCmd: "pnpm publish --no-git-checks",
22-
},
23-
],
2420
[
2521
"@semantic-release/git",
2622
{

0 commit comments

Comments
 (0)