Skip to content

Commit

Permalink
run release stages on any tag (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniszewski committed Aug 5, 2019
1 parent 53aabde commit 3514b2c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit 3514b2c

Please sign in to comment.