The above works fine in version v3.38.0 - the NAME variable is dynamically populated with the result of the yq command and the task prints foobar as expected:
Although the panic is from the yq binary, it must be something to do with the way the args are passed to the binary from go-task or the way the binary is invoked.
In some cases, dynamic vars that worked in
<= v3.38.0
result in a go panic in>= v3.39.0
.Version Info
To Reproduce
The above works fine in version
v3.38.0
- theNAME
variable is dynamically populated with the result of theyq
command and the task printsfoobar
as expected:In version
v3.39.0
and greater, it panics:Although the panic is from the
yq
binary, it must be something to do with the way the args are passed to the binary from go-task or the way the binary is invoked.