Skip to content

Commit

Permalink
fix: 1.zip rename
Browse files Browse the repository at this point in the history
  • Loading branch information
JuckZ committed Feb 13, 2023
1 parent 7ed3117 commit ad0d2b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
[
'@semantic-release/exec',
{
publishCmd: 'zip ${nextRelease.version}-dist.zip -r dest',
publishCmd: 'zip release.zip -r dest',
},
],
[
Expand All @@ -30,7 +30,7 @@ module.exports = {
'versions.json',
'dest/styles.css',
'dest/main.js',
'${nextRelease.version}-dist.zip',
'release.zip',
],
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
Expand All @@ -46,7 +46,7 @@ module.exports = {
{ path: 'versions.json', label: 'versions.json' },
{ path: 'dest/styles.css', label: 'styles.css' },
{ path: 'dest/main.js', label: 'main.js' },
{ path: '${nextRelease.version}-dist.zip', label: '${nextRelease.version}-dist.zip' },
{ path: 'release.zip', label: 'release.zip' },
],
},
],
Expand Down

0 comments on commit ad0d2b7

Please sign in to comment.