Inconsistent Variable Expansion When Using {{.VAR}}
in .env
Files with Nested Variables
#1847
Labels
state: needs triage
Waiting to be triaged by a maintainer.
When using a
.env
file to define environment variables that rely on other variables using{{.VAR}}
template syntax, the variables sometimes expand inconsistently across task runs. The issue becomes more apparent as the variables become more deeply nested.Steps to Reproduce:
Create a
Taskfile.yml
:Create a
.env
File:Run the task multiple times:
Sample Outputs:
The text was updated successfully, but these errors were encountered: