Commit 3bd0258d authored by Plup's avatar Plup

change: added release in CI/CD

parent 93330638
Pipeline #1746 passed with stage
in 24 seconds
...@@ -2,11 +2,29 @@ ...@@ -2,11 +2,29 @@
image: python:3 image: python:3
stages: stages:
- hello - test
- release
say_hello: test:
stage: hello stage: test
script: script:
- echo 'Hello world!' - echo 'Make your tests here !'
except:
- master
tags:
- sib
publish:
stage: release
before_script:
- git config user.name "${GITLAB_USER_NAME}"
- git config user.email "${GITLAB_USER_EMAIL}"
- git remote set-url origin "https://gitlab-ci-token:${GL_TOKEN}@git.happy-dev.fr/${CI_PROJECT_PATH}.git"
- pip install git+https://github.com/plup/python-semantic-release
- pip install sib-commit-parser
script:
- semantic-release publish
only:
- master
tags: tags:
- sib - sib
Markdown is supported
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