canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
7 stars 11 forks source link

fix: apply yaml transforms first #334

Closed mr-cal closed 5 months ago

mr-cal commented 5 months ago

As raised in Matrix (source), _extra_yaml_transforms needs to occur before evaluating project variables.

For example, snapcraft will expand extensions in _extra_yaml_transforms and some extensions add project variables to the yaml.

Fixes https://github.com/canonical/snapcraft/issues/4771