From 62dd85ab677cd1374f97b39dcc4d09a7d3bf4ff0 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Mon, 20 Feb 2023 19:03:57 -0500 Subject: [PATCH] Use regex to match vX.Y.Z --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe1cf1fc..9ee6744d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: