Merge pull request 'fix regex for tagging' (!74) from bugfix/fix-regex into master
All checks were successful
rvr-nextgen/pipeline/head This commit looks good
rvr-nextgen/pipeline/tag This commit looks good

Reviewed-on: #74
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
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'