Skip to content
Snippets Groups Projects
Commit 6f4debaa1c48 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:rocket: only built packages on tags, this avoids conflict and will need less maintenance

parent b97da131790d
No related branches found
No related tags found
1 merge request!158🚀 only built packages on tags, this avoids conflict and will need less maintenance
This commit is part of merge request !158. Comments created here will be created in the context of that merge request.
...@@ -203,6 +203,6 @@ ...@@ -203,6 +203,6 @@
upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi
dist/* dist/*
rules: rules:
- if: $CI_COMMIT_BRANCH =~ /^topic\/.*/ - if: $CI_COMMIT_BRANCH =~ /^topic\/.*/ || $CI_COMMIT_BRANCH =~ /^branch\/.*/
when: manual when: manual
allow_failure: true allow_failure: true
...@@ -207,6 +207,6 @@ ...@@ -207,6 +207,6 @@
when: manual when: manual
allow_failure: true allow_failure: true
- if: $CI_COMMIT_BRANCH =~ /^branch\/.*/ || $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
release_job: release_job:
stage: deploy stage: deploy
......
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