Use regex to match vX.Y.Z

This commit is contained in:
Joseph Donofry 2023-02-20 19:03:57 -05:00
parent b219d6a6b6
commit 62dd85ab67
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -313,7 +313,7 @@ github-release:
image: alpine:latest
tags: [docker]
rules:
- if: '$CI_COMMIT_TAG != null'
- if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/'
before_script:
- apk update && apk add jq
script: