From f432fbe194d1b5f42dd88e29d592fc1a848dc89a Mon Sep 17 00:00:00 2001 From: Sven Marcus <s.marcus@outlook.de> Date: Thu, 15 Oct 2020 08:57:31 +0200 Subject: [PATCH] Release via .gitlab-ci.yml --- .gitlab-ci.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c27357efb..10aeaa6cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ image: irmb/virtualfluids-python-deps stages: - build - test + - release build: stage: build @@ -48,4 +49,17 @@ test_python_bindings: - source Python/venv/bin/activate script: - - python3 -m unittest discover -s Python -v \ No newline at end of file + - python3 -m unittest discover -s Python -v + + +create_release: + stage: release + rules: + - if: $CI_COMMIT_TAG + + script: + - echo "Creating release with tag $CI_COMMIT_TAG" + + release: + tag_name: $CI_COMMIT_TAG + name: "VirtualFluids $CI_COMMIT_TAG" -- GitLab