Skip to content

Commit

Permalink
Merge pull request #71 from creative-commoners/pulls/2.0/child-stabil…
Browse files Browse the repository at this point in the history
…ity-array

FIX Regression in child-stability-inherit: accepts boolean or array of strings
  • Loading branch information
Damian Mooyman authored Feb 21, 2018
2 parents c1ab90c + 9720a32 commit 88e34f7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cow-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Basic options are:
* `changelog-github` (bool) Push up changelog to github up via github release API (v3)
* `changelog-format` Either 'flat' (single list of items) or 'grouped' (grouped by standard groups).\
Defaults to 'grouped' if left out.
* `child-stability-inherit` (bool) If set to true, child modules will be released with the same stability
* `child-stability-inherit` (bool|array) If set to true, child modules will be released with the same stability
(e.g. -alpha1) as the parent. This can also be set to an array of modules to limit child stability inheritance to.
* `vendors` Declare list of child requirement library vendors that will be released. A vendor must be declared,
otherwise no child dependencies will be released.
Expand Down
14 changes: 12 additions & 2 deletions cow.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,17 @@
"type": "boolean"
},
"child-stability-inherit": {
"type": "boolean"
"anyOf": [
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"dependency-constraint": {
"type": "string",
Expand Down Expand Up @@ -79,4 +89,4 @@
}
}
}
}
}

0 comments on commit 88e34f7

Please sign in to comment.