Update .gitlab-ci.yml
This commit is contained in:
parent
32b525363a
commit
4321771762
|
@ -1,7 +1,6 @@
|
|||
image: debian:latest
|
||||
|
||||
before_script:
|
||||
- export COMMIT_TIME=$(git show -s --format=%ct $CI_COMMIT_SHA)
|
||||
- export DEBIAN_FRONTEND= noninteractive
|
||||
- apt-get update -y
|
||||
- apt-get install -y zip unzip
|
||||
|
@ -12,23 +11,25 @@ stages:
|
|||
build firefox:
|
||||
stage: build
|
||||
script:
|
||||
- zip ClearUrls_firefox_$COMMIT_TIME -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/*
|
||||
- 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:
|
||||
name: "ClearUrls_chrome_$CI_BUILD_ID"
|
||||
paths:
|
||||
- bin/Firefox/ClearUrls_chrome_$COMMIT_TIME.zip
|
||||
- bin/Firefox/*.zip
|
||||
|
||||
build chrome:
|
||||
stage: build
|
||||
script:
|
||||
- zip ClearUrls_chrome_$COMMIT_TIME -r -FS ChromeVersion/clearurls.js browser-polyfill.js ChromeVersion/manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/* ChromeVersion/css/core.css
|
||||
- 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:
|
||||
name: "ClearUrls_chrome_$CI_BUILD_ID"
|
||||
paths:
|
||||
- bin/Chrome/ClearUrls_chrome_$COMMIT_TIME.zip
|
||||
- bin/Chrome/*.zip
|
Loading…
Reference in New Issue
Block a user