Commit 5f025929 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

drop "only:tags" from deken-job, but only upload if IEM_COMMIT_TAG is non-empty

parent 64b6ac8c
......@@ -212,8 +212,6 @@ variables:
.deken:
stage: deploy
image: debian:buster
only:
- tags
variables:
DEKEN_ROOT: "yes"
before_script:
......@@ -226,7 +224,7 @@ variables:
# create binary package
- deken package --version="${CI_COMMIT_TAG#v}" "${CI_PROJECT_NAME}"
# upload deken packages
- test -z "${DEKEN_USERNAME}" || test -z "${DEKEN_PASSWORD}" || deken upload --no-source-error ./*.dek
- test -z "${CI_COMMIT_TAG}" || test -z "${DEKEN_USERNAME}" || test -z "${DEKEN_PASSWORD}" || deken upload --no-source-error ./*.dek
artifacts:
name: deken-package
paths:
......
Supports Markdown
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