"name" Action option gets filtered out
ralf57 opened this issue · 2 comments
ralf57 commented
pre-release-actions:
build-phar-package:
name: my-package
destination: foo
// the 'name' options is filtered out
array(2) {
'destination' => string(3) "foo"
}
// manually parsing the config via \Symfony\Component\Yaml\Parser() properly gets the 2 options
array(3) {
'name' => string(9) "my-package"
'destination' => string(3) "foo"
}
jeanmonod commented
I guess this is because we accept two syntax, just look at https://github.com/liip/RMT#extend-it, not sure how to fix this... Will think about...
ralf57 commented
I see the point.
In order to avoid BC, I think the easiest is to add a note about this "reserved" key name in the README.