Skip to content

Commit

Permalink
ci: use buildingTag instead of regex in jenkins when block
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniszewski committed Mar 30, 2020
1 parent a0b5a66 commit 867c8af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ pipeline {

stage('Tagged Release') {
when {
// example matches: 1.2.3, 1.2.3-dev
tag pattern: '(0|[1-9]*)\\.(0|[1-9]*)\\.(0|[1-9]*)(-(\\S*))?$', comparator: "REGEXP"
buildingTag()
}
environment {
GITHUB_TOKEN = credentials('vio-bot-gh-token')
Expand Down

0 comments on commit 867c8af

Please sign in to comment.