liip/RMT

"name" Action option gets filtered out

ralf57 opened this issue · 2 comments

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"
}

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...

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.