Commit 8b20ffa3 authored by Federico Falconieri's avatar Federico Falconieri
Browse files

Merge branch 'hoverht-master-patch-35471' into 'master'

fix: should only run on master

See merge request ci/templates!109
parents 0510d314 d7479b0d
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -139,5 +139,17 @@ semantic-release:dry-run:
  rules:
    - if: $CI_COMMIT_TAG
      when: never
    - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
      when: never
    - when: always

python:semantic-release:version:dry-run:
  extends: python:semantic-release:version
  variables:
    EXTRA_ARGS: "--noop"
  rules:
    - if: $CI_COMMIT_TAG
      when: never
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
      when: never
    - when: always
+4 −0
Original line number Diff line number Diff line
@@ -14,3 +14,7 @@ python:twine:
    - if: $CI_COMMIT_TAG
      exists:
        - dist

python:semantic-release:version:
  rules:
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH