mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-28 04:40:36 +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,
|
Exclude: from.Environment.Exclude,
|
||||||
},
|
},
|
||||||
Event: droneyaml.Condition{
|
Event: droneyaml.Condition{
|
||||||
Include: from.Event.Include,
|
Include: toPromote(from.Event.Include),
|
||||||
Exclude: from.Event.Exclude,
|
Exclude: toPromote(from.Event.Exclude),
|
||||||
},
|
},
|
||||||
Branch: droneyaml.Condition{
|
Branch: droneyaml.Condition{
|
||||||
Include: from.Branch.Include,
|
Include: from.Branch.Include,
|
||||||
Exclude: from.Branch.Exclude,
|
Exclude: from.Branch.Exclude,
|
||||||
},
|
},
|
||||||
Status: droneyaml.Condition{
|
Status: droneyaml.Condition{
|
||||||
Include: toPromote(from.Status.Include),
|
Include: from.Status.Include,
|
||||||
Exclude: toPromote(from.Status.Exclude),
|
Exclude: from.Status.Exclude,
|
||||||
},
|
},
|
||||||
Matrix: from.Matrix,
|
Matrix: from.Matrix,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user