diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9e15a1..535549a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file + - bin/Chrome/*.zip \ No newline at end of file