Test auto build: .gitlab-ci.yml
This commit is contained in:
parent
23e7fa4064
commit
f139e628ab
31
.gitlab-ci.yml
Normal file
31
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
before_script:
|
||||||
|
- export COMMIT_TIME=$(git show -s --format=%ct $CI_COMMIT_SHA)
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
build firefox:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- apt-get install -y zip
|
||||||
|
- zip ClearUrls_firefox_$COMMIT_TIME -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_$COMMIT_TIME.zip
|
||||||
|
|
||||||
|
build chrome:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- apt-get install -y zip
|
||||||
|
- 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
|
||||||
|
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- bin/Chrome/ClearUrls_chrome_$COMMIT_TIME.zip
|
Loading…
Reference in New Issue
Block a user