Merge pull request 'fix regex for tagging' () from bugfix/fix-regex into master

Reviewed-on: 
This commit is contained in:
Bence Pőcze 2023-10-01 00:15:15 +02:00 committed by Gitea
commit 6341072b0b
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6

2
Jenkinsfile vendored

@ -100,7 +100,7 @@ pipeline {
label: 'Build Docker image'
if (env.BRANCH_NAME == 'master') {
if (env.VERSION ==~ '-\\d+-g[a-f0-9]{7}') {
if (env.VERSION ==~ '.*-\\d+-g[a-f0-9]{7}') {
env.FIXED_VERSION = 'dev'
} else {
env.FIXED_VERSION = 'stable'