mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-24 11:00:39 +00:00
fix 0.8 deploy event conversion
This commit is contained in:
parent
4706608ba0
commit
6f4d6dfb39
@ -305,16 +305,16 @@ func toConditions(from Constraints) droneyaml.Conditions {
|
||||
Exclude: from.Environment.Exclude,
|
||||
},
|
||||
Event: droneyaml.Condition{
|
||||
Include: from.Event.Include,
|
||||
Exclude: from.Event.Exclude,
|
||||
Include: toPromote(from.Event.Include),
|
||||
Exclude: toPromote(from.Event.Exclude),
|
||||
},
|
||||
Branch: droneyaml.Condition{
|
||||
Include: from.Branch.Include,
|
||||
Exclude: from.Branch.Exclude,
|
||||
},
|
||||
Status: droneyaml.Condition{
|
||||
Include: toPromote(from.Status.Include),
|
||||
Exclude: toPromote(from.Status.Exclude),
|
||||
Include: from.Status.Include,
|
||||
Exclude: from.Status.Exclude,
|
||||
},
|
||||
Matrix: from.Matrix,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user