diff --git a/package.json b/package.json index 3c44b6e..032b351 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,12 @@ "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-all": "./setup-env.sh; rm /dist-zip/*; npm run build-nightly; node scripts/build-zip.js ff; npm run build-nightly-chrome; node scripts/build-zip.js chrome; web-ext sign", "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", - "build-nightly": "./build-nightly.sh", "build-zip": "node scripts/build-zip.js", "watch": "npm run build -- --watch", "watch-chrome": "npm run build-chrome -- --watch", diff --git a/webpack.config.js b/webpack.config.js index c0a44ee..a653115 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -86,7 +86,7 @@ const config = { if (process.env.CHANNEL === 'nightly') { jsonContent.name = "Ultrawidify - nightly"; - jsonContent.description = "NIGHTLY BUILD OF ULTRAWIDIFY -- FOR TESTING ONLY."; + jsonContent.description = "FOR TESTING ONLY -- THIS BUILD USES ONLY THE FRESHEST COMMITS FROM GITHUB AND MAY THEREFORE BE COMPLETELY BROKEN"; // version numbers for nightly builds: YYMM.DD.BUILD_NUMBER jsonContent.version = `${new Date()