Commit d7479b0d authored by Ruben ten Hove's avatar Ruben ten Hove Committed by Federico Falconieri
Browse files

fix: should only run on master

parent a94108ab
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