Merge pull request 'fix regex for tagging' (!74) from bugfix/fix-regex into master
Reviewed-on: #74
This commit is contained in:
1 file changed
+1
-1
Vendored
+1
-1
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user