Skip to content

Commit f2ce2eb

Browse files
authored
update release.config.js
1 parent c44af11 commit f2ce2eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

release.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const pluginName = require('./package.json').name
2+
13
module.exports = {
24
branches: ["master"],
35
plugins: [
@@ -20,13 +22,13 @@ module.exports = {
2022
"@semantic-release/exec",
2123
{
2224
prepareCmd:
23-
"zip -qq -r logseq-ticktick-plugin-${nextRelease.version}.zip dist readme.md logo.png LICENSE package.json",
25+
"zip -qq -r " + pluginName + "-${nextRelease.version}.zip dist readme.md logo.png LICENSE package.json",
2426
},
2527
],
2628
[
2729
"@semantic-release/github",
2830
{
29-
assets: "logseq-plugin-template-react-*.zip",
31+
assets: [`${pluginName}-*.zip`],
3032
},
3133
],
3234
],

0 commit comments

Comments
 (0)