Update .gitlab-ci.yml to release package builds

This commit is contained in:
Netkas 2023-07-11 23:09:21 +00:00
parent f0b7067107
commit 696b8f16ff

View file

@ -33,11 +33,15 @@ build:
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH
release: release:
stage: deploy stage: deploy
script: script:
- ncc build --config release --log-level debug - ncc build --config release --log-level debug
artifacts: - >
paths: curl --header "JOB-TOKEN: $CI_JOB_TOKEN"
- build/ --upload-file build/release/net.nosial.focuscrawler.ncc
rules: "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/net.nosial.tamerlib/$CI_COMMIT_TAG/net.nosial.tamerlib.ncc"
- if: $CI_COMMIT_TAG artifacts:
paths:
- build/
rules:
- if: $CI_COMMIT_TAG