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

Add a CI test for tag correctness

parent 0e64224d
Loading
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -145,6 +145,13 @@ Commit Graph Analysis:

# Package publishing

Check Tag:
  stage: test
  rules:
    - if: $CI_COMMIT_TAG =~ /^v[0-9]/
  script:
    - test `./setup.py --version` == ${CI_COMMIT_TAG#v}

Build Packages:
  stage: build
  script: