Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #167 from jenkinsci/tag_check_fix
Browse files Browse the repository at this point in the history
Fix Windows image publishing for tagged releases
  • Loading branch information
slide committed Apr 14, 2020
2 parents af62340 + 4a055e9 commit 7da47fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {
}

def tagName = "${env.TAG_NAME}"
if(tagName ==~ '\\d\\.\\d') {
if(tagName =~ /\d(\.\d)+(-\d+)?/) {
// we need to build and publish the tagged version
infra.withDockerCredentials {
powershell "& ./make.ps1 -PushVersions -VersionTag $tagName publish"
Expand Down

0 comments on commit 7da47fb

Please sign in to comment.