Skip to content

Commit

Permalink
update release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Oct 30, 2021
1 parent 4ea90a9 commit 2802148
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ yarn-error.log*

/tmp
/build.pem
*.crx
*.crx
*.zip
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const pkg = require('../package')
shell.cd(path.resolve(__dirname, '..'))
shell.rm('-rf', 'build')
shell.exec('yarn build')
shell.exec(`yarn crx pack build -o ${pkg.name}-v${pkg.version}.crx -p build.pem`)
shell.exec(`yarn crx pack build -o ${pkg.name}-v${pkg.version}.crx --zip-output ${pkg.name}-v${pkg.version}.zip -p build.pem`)

0 comments on commit 2802148

Please sign in to comment.