Skip to content

Commit

Permalink
chore: modify script by zip.js
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ngjie committed Oct 10, 2022
1 parent e62bfea commit ef9c609
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension-zips.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const archiver = require('archiver')
const IS_CI = !!(process.env.CIRCLECI || process.env.GITHUB_ACTIONS)
const ProgressBar = require('progress')
const readDirGlob = require('readdir-glob')
const PKG = require("./package.json")

const INCLUDE_GLOBS = [
'icons/**',
Expand All @@ -25,7 +26,7 @@ function bytesToSize(bytes) {
}

(async () => {
await writeZip('extension-chrome.zip', 'shell-chrome/build')
await writeZip(`ajax-proxy-${PKG.version}.zip`, 'shell-chrome/build')

async function writeZip(fileName, packageDir) {
// create a file to stream archive data to.
Expand Down

0 comments on commit ef9c609

Please sign in to comment.