CI generates the chrome version
This commit is contained in:
parent
4f86852312
commit
36300bf1c9
|
@ -3,7 +3,7 @@ image: debian:latest
|
||||||
before_script:
|
before_script:
|
||||||
- export DEBIAN_FRONTEND= noninteractive
|
- export DEBIAN_FRONTEND= noninteractive
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y zip unzip
|
- apt-get install -y zip unzip jq
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
@ -31,7 +31,8 @@ build firefox:
|
||||||
build chrome:
|
build chrome:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- zip ClearUrls_chrome -r -FS clearurls.js browser-polyfill.js ChromeVersion/manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/*
|
- jq 'del(.applications) | .description=""' manifest.json > manifest.json.tmp && mv manifest.json.tmp manifest.json
|
||||||
|
- zip ClearUrls_chrome -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/*
|
||||||
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
@ -1,73 +0,0 @@
|
||||||
{
|
|
||||||
"manifest_version": 2,
|
|
||||||
"name": "ClearURLs",
|
|
||||||
"version": "1.5.2",
|
|
||||||
"author": "Kevin R.",
|
|
||||||
"description": "Remove tracking elements form URLs.",
|
|
||||||
"homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",
|
|
||||||
"default_locale": "en",
|
|
||||||
"icons": {
|
|
||||||
"16": "img/clearurls.svg",
|
|
||||||
"19": "img/clearurls.svg",
|
|
||||||
"20": "img/clearurls.svg",
|
|
||||||
"24": "img/clearurls.svg",
|
|
||||||
"30": "img/clearurls.svg",
|
|
||||||
"32": "img/clearurls.svg",
|
|
||||||
"38": "img/clearurls.svg",
|
|
||||||
"48": "img/clearurls.svg",
|
|
||||||
"64": "img/clearurls.svg",
|
|
||||||
"96": "img/clearurls.svg",
|
|
||||||
"128": "img/clearurls.svg"
|
|
||||||
|
|
||||||
},
|
|
||||||
"browser_action": {
|
|
||||||
"browser_style": true,
|
|
||||||
"default_icon": {
|
|
||||||
"16": "img/clearurls.svg",
|
|
||||||
"19": "img/clearurls.svg",
|
|
||||||
"20": "img/clearurls.svg",
|
|
||||||
"24": "img/clearurls.svg",
|
|
||||||
"30": "img/clearurls.svg",
|
|
||||||
"32": "img/clearurls.svg",
|
|
||||||
"38": "img/clearurls.svg",
|
|
||||||
"48": "img/clearurls.svg",
|
|
||||||
"64": "img/clearurls.svg",
|
|
||||||
"96": "img/clearurls.svg",
|
|
||||||
"128": "img/clearurls.svg"
|
|
||||||
|
|
||||||
},
|
|
||||||
"default_title": "ClearURLs Add-on",
|
|
||||||
"default_popup": "html/popup.html"
|
|
||||||
},
|
|
||||||
"permissions": [
|
|
||||||
"*://*/*",
|
|
||||||
"<all_urls>",
|
|
||||||
"webRequest",
|
|
||||||
"webRequestBlocking",
|
|
||||||
"storage",
|
|
||||||
"tabs",
|
|
||||||
"unlimitedStorage"
|
|
||||||
],
|
|
||||||
"background": {
|
|
||||||
"scripts": [
|
|
||||||
"browser-polyfill.js",
|
|
||||||
"external_js/jquery-3.2.1.min.js",
|
|
||||||
"external_js/sha256.jquery.js",
|
|
||||||
"core_js/message_handler.js",
|
|
||||||
"core_js/tools.js",
|
|
||||||
"core_js/storage.js",
|
|
||||||
"clearurls.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"content_scripts": [
|
|
||||||
{
|
|
||||||
"matches": ["<all_urls>"],
|
|
||||||
"js": [
|
|
||||||
"browser-polyfill.js"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"options_ui": {
|
|
||||||
"page": "html/settings.html"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user