Skip to content
Snippets Groups Projects
Commit 3bd0258d authored by plup's avatar plup
Browse files

change: added release in CI/CD

parent 93330638
No related branches found
Tags v0.5.13
No related merge requests found
Pipeline #638 failed
......@@ -2,11 +2,29 @@
image: python:3
stages:
- hello
- test
- release
say_hello:
stage: hello
test:
stage: test
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:
- sib
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