mirror of
https://github.com/drone/drone-cli.git
synced 2024-11-23 01:11:57 +01:00
bump drone-yaml package
This commit is contained in:
parent
290cfa3fe7
commit
c905c57f22
2
Gopkg.lock
generated
2
Gopkg.lock
generated
@ -113,7 +113,7 @@
|
|||||||
"yaml/pretty",
|
"yaml/pretty",
|
||||||
"yaml/signer"
|
"yaml/signer"
|
||||||
]
|
]
|
||||||
revision = "b134c0d5339c67020abe52a537970f528f842b5c"
|
revision = "a71f44ace1bdab086904cde2fe4534406376ae0b"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
name = "github.com/drone/envsubst"
|
name = "github.com/drone/envsubst"
|
||||||
|
3
vendor/github.com/drone/drone-yaml/yaml/compiler/skip.go
generated
vendored
3
vendor/github.com/drone/drone-yaml/yaml/compiler/skip.go
generated
vendored
@ -10,7 +10,6 @@ type SkipData struct {
|
|||||||
Instance string
|
Instance string
|
||||||
Ref string
|
Ref string
|
||||||
Repo string
|
Repo string
|
||||||
Status string
|
|
||||||
Target string
|
Target string
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -29,8 +28,6 @@ func SkipFunc(data SkipData) func(*yaml.Container) bool {
|
|||||||
return true
|
return true
|
||||||
case !container.When.Repo.Match(data.Repo):
|
case !container.When.Repo.Match(data.Repo):
|
||||||
return true
|
return true
|
||||||
case !container.When.Status.Match(data.Status):
|
|
||||||
return true
|
|
||||||
case !container.When.Target.Match(data.Target):
|
case !container.When.Target.Match(data.Target):
|
||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user