Skip to content

Commit

Permalink
Fix (worker): download artifact (#1786)
Browse files Browse the repository at this point in the history
Hfix
  • Loading branch information
yesnault authored Dec 22, 2017
1 parent 552d3a7 commit 9e5d0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/worker/builtin_artifact_download.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ func runArtifactDownload(w *currentWorker) BuiltInAction {

if pattern != "" && !regexp.MatchString(a.Name) {
sendLog(fmt.Sprintf("%s does not match pattern %s - skipped", a.Name, pattern))
defer wg.Done()
wg.Done()
continue
}

if tag != "" && a.Tag != tag {
sendLog(fmt.Sprintf("%s does not match tag %s - skipped", a.Name, tag))
defer wg.Done()
wg.Done()
continue
}

Expand Down

0 comments on commit 9e5d0d1

Please sign in to comment.