Skip to content
Snippets Groups Projects
Commit eb2f958f authored by Bengt Giger's avatar Bengt Giger
Browse files

Release package only for tags

parent 500d7f74
No related branches found
Tags 0.0.15
No related merge requests found
......@@ -8,6 +8,8 @@ stages:
# Tests
code-check:
stage: test
before_script:
- pip install --upgrade build pip
image: python:3
tags:
- k8s-runner
......@@ -55,11 +57,11 @@ package-grader:
image: registry.gitlab.com/gitlab-org/release-cli:latest
tags:
- k8s-runner
# rules:
# - if: '$CI_COMMIT_TAG == "stable"'
# when: never
# - if: '$CI_COMMIT_TAG != null'
# when: always
rules:
- if: '$CI_COMMIT_TAG == "stable"'
when: never
- if: '$CI_COMMIT_TAG != null'
when: always
script:
- echo 'running release job'
release:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment