From 47819fc6d741926e2126433df99a6361c280fae5 Mon Sep 17 00:00:00 2001 From: Kevin R Date: Thu, 20 Jan 2022 22:37:41 +0100 Subject: [PATCH] Updated changelog, readme and CI Build Firefox and Chrome ZIP to support `applications` field again --- .gitlab-ci.yml | 17 ++++++++++++++--- CHANGELOG.md | 1 + README.md | 3 ++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93b5da3..789ade1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,15 +24,26 @@ hash rules: - data.minify.json - rules.minify.hash -bundle addon: +bundle addon firefox: stage: build script: - - zip ClearURLs -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/* + - zip ClearURLs-firefox -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/* only: - master artifacts: paths: - - ClearURLs.zip + - ClearURLs-firefox.zip + +bundle addon chrome: + stage: build + script: + - jq 'del(.applications)' 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 + artifacts: + paths: + - ClearURLs-chrome.zip pages: stage: deploy diff --git a/CHANGELOG.md b/CHANGELOG.md index ca2004f..d249d43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added Arabic translation by Essam and kugani - Added Indonesian translation by Iputucaganesha - Added `content_security_policy` to `manifest.json` +- Re-Added `applications`to `manifest.json` ### Changed - Updated `homepage_url` and `author` field in `manifest.json` diff --git a/README.md b/README.md index 2ab9c1c..83f3f09 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,8 @@ Reasoning for needed permissions can be found under [here](https://gitlab.com/Ke ## CI/CD Artifacts Download (for Firefox- and Chrome-Dev only) Here you can download the packed files for the Firefox- and Chrome-Dev: -[](https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/ClearURLs.zip?job=bundle%20addon) + - [ClearURLs-firefox.zip](https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/ClearURLs-firefox.zip?job=bundle%20addon) + - [ClearURLs-chrome.zip](https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/ClearURLs-chrome.zip?job=bundle%20addon) ## Test If you want to test whether ClearURLs works correctly on your system, you can go to this test page: [https://test.clearurls.xyz/](https://test.clearurls.xyz/)