diff options
author | Ajay Ramachandran <[email protected]> | 2020-02-20 11:39:06 -0500 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2020-02-20 11:39:06 -0500 |
commit | 514a8b62d6539713e62f59e9a6844b168e105771 (patch) | |
tree | 64530b3cf0ec29a3e0000ca5f483f4bcc8574489 /webpack/webpack.manifest.js | |
parent | 8be3cb157a1c62ab6495b98d1f26337e32e5b5e7 (diff) | |
download | SponsorBlock-514a8b62d6539713e62f59e9a6844b168e105771.tar.gz SponsorBlock-514a8b62d6539713e62f59e9a6844b168e105771.zip |
Added beta build to CI
Diffstat (limited to 'webpack/webpack.manifest.js')
-rw-r--r-- | webpack/webpack.manifest.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webpack/webpack.manifest.js b/webpack/webpack.manifest.js index eb66b999..7f8e1f3b 100644 --- a/webpack/webpack.manifest.js +++ b/webpack/webpack.manifest.js @@ -8,6 +8,7 @@ const fs = require('fs'); const manifest = require("../manifest/manifest.json"); const firefoxManifestExtra = require("../manifest/firefox-manifest-extra.json"); const chromeManifestExtra = require("../manifest/chrome-manifest-extra.json"); +const betaManifestExtra = require("../manifest/beta-manifest-extra.json"); // schema for options object const schema = { @@ -18,6 +19,9 @@ const schema = { }, pretty: { type: 'boolean' + }, + steam: { + type: 'string' } } }; @@ -40,6 +44,10 @@ class BuildManifest { mergeObjects(manifest, chromeManifestExtra); } + if (this.options.stream === "beta") { + mergeObjects(manifest, betaManifestExtra); + } + let result = JSON.stringify(manifest); if (this.options.pretty) result = JSON.stringify(manifest, null, 2); |