Commit b57e42fe authored by chickahoona's avatar chickahoona

tuning artifact creation

parent 89954e5c
......@@ -45,18 +45,14 @@ firefox-extension:
script:
- sh ./var/build-ubuntu.sh
- sh ./var/build-firefox-extension.sh
artifacts:
paths:
- dist/chrome/psono.firefox.PW.zip
- curl --request POST "https://gitlab.com/ci/api/v1/builds/${CI_JOB_ID}/artifacts" --form "token=${CI_JOB_TOKEN}" --form "file=@dist/chrome/psono.firefox.PW.zip"
chrome-extension:
stage: build
script:
- sh ./var/build-ubuntu.sh
- sh ./var/build-chrome-extension.sh
artifacts:
paths:
- dist/chrome/psono.chrome.PW.zip
- curl --request POST "https://gitlab.com/ci/api/v1/builds/${CI_JOB_ID}/artifacts" --form "token=${CI_JOB_TOKEN}" --form "file=@dist/chrome/psono.chrome.PW.zip"
job-release-docker:
stage: release
......
#!/usr/bin/env bash
mkdir -p /builds/psono/psono-client/dist/chrome
cd /builds/psono/psono-client/build/chrome/
zip -r /builds/psono/psono-client/dist/chrome/psono.chrome.PW.zip *
\ No newline at end of file
zip -r /builds/psono/psono-client/dist/chrome/psono.chrome.PW.zip *
cd /builds/psono/psono-client/
\ No newline at end of file
#!/usr/bin/env bash
mkdir -p /builds/psono/psono-client/dist/firefox
cd /builds/psono/psono-client/build/firefox/
zip -r /builds/psono/psono-client/dist/firefox/psono.firefox.PW.zip *
\ No newline at end of file
zip -r /builds/psono/psono-client/dist/firefox/psono.firefox.PW.zip *
cd /builds/psono/psono-client/
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment