Hello,
I’m trying to add versions to my yaml config files.
I have this structure:
- base.yaml - basic data like wifi
- uC.yaml - definition of uC\framework
- device_type.yaml - definition of the device like gpio, sensors, etc,
- device.yaml - naming, ip
- device_type.yaml - definition of the device like gpio, sensors, etc,
- uC.yaml - definition of uC\framework
each includes each parent as a package and it works really well, but I wanted for every device to have a version that also contains the version of each parent. Ex:
- base-version.uc-version.device_type-version.device-version
- base-2.esp32-4.minir4-3.wc_llight-5
I was thinking of using project.version, but the include will override that attribute, is there a way to access the parent attribute and concat it? like
project:
_ version: ${super.project.version}.esp32-10
does anyone knows if this is possible?
Best Regards,
Tiago Freitas