Fix build-zip script
This commit is contained in:
parent
8945226d24
commit
470f576b41
@ -47,7 +47,7 @@ const main = () => {
|
|||||||
}
|
}
|
||||||
const destDir = path.join(__dirname, `../dist-${browserPostfix}`);
|
const destDir = path.join(__dirname, `../dist-${browserPostfix}`);
|
||||||
const zipDir = path.join(__dirname, '../dist-zip');
|
const zipDir = path.join(__dirname, '../dist-zip');
|
||||||
const {name, version} = extractExtensionData();
|
const {name, version} = extractExtensionData(browserPostfix);
|
||||||
|
|
||||||
// collapse spaces and dashes into single dash
|
// collapse spaces and dashes into single dash
|
||||||
const baseFilename = `${name.replace(/[ -]+/g, '-')}-${version}`;
|
const baseFilename = `${name.replace(/[ -]+/g, '-')}-${version}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user