diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97e1340d7804f21faa609396a8602017e240f478..73c41f4a7aef6236f0d04e7837e0a279df3cd1bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,19 +14,18 @@ test: - master - tags tags: - - sib + - test publish: stage: release before_script: + - pip install python-semantic-release sib-commit-parser - 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 + - deploy