Update .gitlab-ci.yml

This commit is contained in:
Kai Kriegel 2021-12-28 00:51:16 +00:00
parent cf80ecd8c6
commit 30ef170374

View File

@ -158,8 +158,8 @@ upload:releases:
image: curlimages/curl:latest
variables:
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/diflouroborane/${CI_COMMIT_TAG}"
# rules:
# - if: $CI_COMMIT_TAG
rules:
- if: $CI_COMMIT_TAG
script:
- |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file target/armv7-unknown-linux-gnueabihf/release/diflouroborane "${PACKAGE_REGISTRY_URL}/diflouroborane-linux-armv7-${CI_COMMIT_TAG}"