fix regex for tagging #74

Merged
bence merged 1 commits from bugfix/fix-regex into master 2023-10-01 00:15:15 +02:00
Showing only changes of commit 1dbd813bef - Show all commits

2
Jenkinsfile vendored
View File

@ -100,7 +100,7 @@ pipeline {
label: 'Build Docker image' label: 'Build Docker image'
if (env.BRANCH_NAME == 'master') { 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' env.FIXED_VERSION = 'dev'
} else { } else {
env.FIXED_VERSION = 'stable' env.FIXED_VERSION = 'stable'