Verified Commit a4740ef6 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Suppress making releases for non-semver release tags

parent 60a7687f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ Create Release:
  stage: deploy
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  rules:
  - if: $DO_RELEASE
  - if: $DO_RELEASE && $CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/
  script: echo "Creating release ${CI_COMMIT_TAG}"
  release:
    tag_name: $CI_COMMIT_TAG