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: ...@@ -212,8 +212,6 @@ variables:
.deken: .deken:
stage: deploy stage: deploy
image: debian:buster image: debian:buster
only:
- tags
variables: variables:
DEKEN_ROOT: "yes" DEKEN_ROOT: "yes"
before_script: before_script:
...@@ -226,7 +224,7 @@ variables: ...@@ -226,7 +224,7 @@ variables:
# create binary package # create binary package
- deken package --version="${CI_COMMIT_TAG#v}" "${CI_PROJECT_NAME}" - deken package --version="${CI_COMMIT_TAG#v}" "${CI_PROJECT_NAME}"
# upload deken packages # 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: artifacts:
name: deken-package name: deken-package
paths: 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