getporter / porter

Porter enables you to package your application artifact, client tools, configuration and deployment logic together as an installer that you can distribute, and install with a single command.
https://porter.sh
Apache License 2.0
1.2k stars 199 forks source link

Support `outputs` variable in dependency outputs section #3156

Closed kichristensen closed 14 hours ago

kichristensen commented 1 month ago

What does this change

Support shorter syntax for addressing the current dependency's outputs, using ${outputs.OUTPUT_NAME} instead of ${bundle.dependencies.CURRET_DEP.outputs.OUTPUT_NAME}. The output variable is only applicable within the outputs section of a dependency and both formats are still supported.

What issue does it fix

Closes #2662

Notes for the reviewer

As stated in #2662 we should determine if we want the variable name is too close to bundle.outputs.

Checklist