Commit ff2a3940 authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason
Browse files

chore: Do not publish-dryrun on release refs

parent f3b2df56
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -34,15 +34,18 @@ release-tag:
  only:
    - tags

publish:
  extends: .semantic-release
  only:
.release-refs: &release-refs
  refs:
    - master@gitlab-org/cluster-integration/auto-deploy-image
    - beta@gitlab-org/cluster-integration/auto-deploy-image
    - /^\d+\.x$/@gitlab-org/cluster-integration/auto-deploy-image
    - /^\d+\.\d+\.x$/@gitlab-org/cluster-integration/auto-deploy-image

publish:
  extends: .semantic-release
  only:
    <<: *release-refs

publish-dryrun:
  extends: .semantic-release
  variables:
@@ -50,5 +53,4 @@ publish-dryrun:
  only:
    - branches@gitlab-org/cluster-integration/auto-deploy-image
  except:
    refs:
      - master
    <<: *release-refs