diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c27357efb4fc9ab30d142346b64230e50bc34006..10aeaa6cca0f1e46dd100858e3eca9e47b9fe1ad 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"