diff --git a/.jenkins b/.jenkins index 00581c40..bf80cbc8 100644 --- a/.jenkins +++ b/.jenkins @@ -130,8 +130,7 @@ pipeline { // artifacts. stage('Draft GitHub Release') { when { - // example matches: v1.2.3, v1.2.3-dev - tag pattern: '^v(0|[1-9]*)\\.(0|[1-9]*)\\.(0|[1-9]*)(-(\\S*))?$', comparator: "REGEXP" + buildingTag() } environment { GITHUB_USER = 'vapor-ware' @@ -155,8 +154,7 @@ pipeline { // should only run if the "Draft GitHub Release" stage completed successfully. stage('Publish Release Images') { when { - // example matches: v1.2.3, v1.2.3-dev - tag pattern: '^v(0|[1-9]*)\\.(0|[1-9]*)\\.(0|[1-9]*)(-(\\S*))?$', comparator: "REGEXP" + buildingTag() } steps { sh 'make ci-check-version'