CI generates the chrome version

This commit is contained in:
Kevin Röbert
2019-04-02 00:16:32 +02:00
parent 4f86852312
commit 36300bf1c9
2 changed files with 3 additions and 75 deletions

View File

@@ -3,7 +3,7 @@ image: debian:latest
before_script:
- export DEBIAN_FRONTEND= noninteractive
- apt-get update -y
- apt-get install -y zip unzip
- apt-get install -y zip unzip jq
stages:
- build
@@ -31,7 +31,8 @@ build firefox:
build chrome:
stage: build
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:
- master