Skip to content
Snippets Groups Projects
Commit 7e3a3a44 authored by Sven Marcus's avatar Sven Marcus
Browse files

Release via .gitlab-ci.yml

parent a0441313
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ image: irmb/virtualfluids-python-deps ...@@ -3,6 +3,7 @@ image: irmb/virtualfluids-python-deps
stages: stages:
- build - build
- test - test
- release
build: build:
stage: build stage: build
...@@ -48,4 +49,17 @@ test_python_bindings: ...@@ -48,4 +49,17 @@ test_python_bindings:
- source Python/venv/bin/activate - source Python/venv/bin/activate
script: script:
- python3 -m unittest discover -s Python -v - python3 -m unittest discover -s Python -v
\ No newline at end of file
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"
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