clear-urls-browser-extension/.gitlab-ci.yml
2019-02-12 23:48:11 +00:00

33 lines
811 B
YAML

image: debian:latest
before_script:
- export DEBIAN_FRONTEND= noninteractive
- apt-get update -y
- apt-get install -y zip unzip
stages:
- build
build firefox:
stage: build
script:
- zip ClearUrls_firefox_$CI_BUILD_ID -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/*
only:
- master
artifacts:
paths:
- bin/Firefox/ClearUrls_chrome_$CI_BUILD_ID.zip
build chrome:
stage: build
script:
- zip ClearUrls_chrome_$CI_BUILD_ID -r -FS ChromeVersion/clearurls.js browser-polyfill.js ChromeVersion/manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/* ChromeVersion/css/core.css
only:
- master
artifacts:
paths:
- bin/Chrome/ClearUrls_chrome_$CI_BUILD_ID.zip