Commit bd7fae13 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Tighten pipeline tag pattern match for all jobs

parent 8ee8113e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ workflow:
  - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
    when: never
  - if: $CI_PIPELINE_SOURCE == "merge_request_event"
  - if: $CI_COMMIT_TAG =~ /^v[0-9]/
  - if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$$/
  - if: $CI_COMMIT_BRANCH


@@ -141,7 +141,7 @@ Upload Package (PyPI):
  extends: [.python]
  dependencies: ["Build Package"]
  rules:
  - if: $PYPI_TOKEN && $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$$/
  - if: $PYPI_TOKEN && $CI_COMMIT_TAG
    when: manual
  script:
  - pip install twine