From 51d0cbf16f8c0adc9ef22239c606bc1ea7afec05 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Fri, 29 Nov 2019 00:55:22 +0100 Subject: [PATCH] Include build number in version scripts --- .gitignore | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 809f3e2..60f7db8 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ build/ /dist /dist-zip /uw-git_keys + +*.pem diff --git a/package.json b/package.json index 0f18671..6282efe 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "build-chrome": "cross-env NODE_ENV=production BROWSER=chrome webpack --hide-modules", "build-edge": "cross-env NODE_ENV=production BROWSER=edge webpack --hide-modules", "build:dev": "cross-env NODE_ENV=development BROWSER=firefox webpack --hide-modules", - "build-nightly": "cross-env NODE_ENV=development BROWSER=firefox CHANNEL=nightly webpack --hide-modules", - "build-nightly-chrome": "cross-env NODE_ENV=development BROWSER=chrome CHANNEL=nightly webpack --hide-modules", + "build-nightly": "cross-env NODE_ENV=development BROWSER=firefox CHANNEL=nightly BUILD_NUMBER=$BUILD_NUMBER webpack --hide-modules", + "build-nightly-chrome": "cross-env NODE_ENV=development BROWSER=chrome CHANNEL=nightly BUILD_NUMBER=$BUILD_NUMBER webpack --hide-modules", "build-chrome:dev": "cross-env NODE_ENV=development BROWSER=chrome webpack --hide-modules", "build-edge:dev": "cross-env NODE_ENV=development BROWSER=edge webpack --hide-modules", "build-all": "rm ./dist-zip/uw-amo-source.zip; mv ./dist-zip/*.zip ./dist-zip/old/; npm run build; node scripts/build-zip.js ff; npm run build-chrome; node scripts/build-zip.js chrome; ./scripts/prepare-amo-source.sh",