Skip to content
Snippets Groups Projects

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

Merged Vincent Hatakeyama requested to merge topic/default/build-tag-only into branch/default
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -203,10 +203,10 @@ publish_package:
upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi
dist/*
rules:
- if: $CI_COMMIT_BRANCH =~ /^topic\/.*/
- if: $CI_COMMIT_BRANCH =~ /^topic\/.*/ || $CI_COMMIT_BRANCH =~ /^branch\/.*/
when: manual
allow_failure: true
- if: $CI_COMMIT_BRANCH =~ /^branch\/.*/ || $CI_COMMIT_TAG
- if: $CI_COMMIT_TAG
release_job:
stage: deploy
Loading