fix regex for tagging #74

Merged
bence merged 1 commits from bugfix/fix-regex into master 2023-10-01 00:15:15 +02:00

2
Jenkinsfile vendored
View File

@ -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'