fix build
This commit is contained in:
parent
6f5768567f
commit
6031a99af7
@ -45,7 +45,7 @@ rm -rf ./dist-zip || true # no big deal if ./dist-zip doesn't exist
|
|||||||
# build firefox
|
# build firefox
|
||||||
#
|
#
|
||||||
npm run "${BUILD_SCRIPT}"
|
npm run "${BUILD_SCRIPT}"
|
||||||
node scripts/build-zip.js ff
|
node scripts/build-zip.js ff nightly
|
||||||
# if [ ! -z "${AMO_API_KEY}" ] ; then
|
# if [ ! -z "${AMO_API_KEY}" ] ; then
|
||||||
# if [ ! -z "${AMO_API_SECRET}" ] ; then
|
# if [ ! -z "${AMO_API_SECRET}" ] ; then
|
||||||
# web-ext sign --source-dir ./dist --api-key "${AMO_API_KEY}" --api-secret "${AMO_API_SECRET}"
|
# web-ext sign --source-dir ./dist --api-key "${AMO_API_KEY}" --api-secret "${AMO_API_SECRET}"
|
||||||
@ -56,7 +56,7 @@ node scripts/build-zip.js ff
|
|||||||
# build chrome
|
# build chrome
|
||||||
#
|
#
|
||||||
npm run "${BUILD_SCRIPT}-chrome"
|
npm run "${BUILD_SCRIPT}-chrome"
|
||||||
node scripts/build-zip.js chrome
|
node scripts/build-zip.js chrome nightly
|
||||||
|
|
||||||
#
|
#
|
||||||
#./scripts/build-crx.sh
|
#./scripts/build-crx.sh
|
||||||
|
@ -52,9 +52,9 @@ const main = () => {
|
|||||||
let realZipDir;
|
let realZipDir;
|
||||||
|
|
||||||
if (!!testingOrNightly) {
|
if (!!testingOrNightly) {
|
||||||
realZipDir = path.join(DEST_ZIP_DIR, baseFilename);
|
|
||||||
} else {
|
|
||||||
realZipDir = path.join(DEST_ZIP_DIR, version);
|
realZipDir = path.join(DEST_ZIP_DIR, version);
|
||||||
|
} else {
|
||||||
|
realZipDir = path.join(DEST_ZIP_DIR);
|
||||||
}
|
}
|
||||||
|
|
||||||
const zipFilename = `${baseFilename}-${browser}.zip`;
|
const zipFilename = `${baseFilename}-${browser}.zip`;
|
||||||
|
Loading…
Reference in New Issue
Block a user