-
-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Included variables using common names are getting overriden #1643
Comments
Yes, discovered the same issue. Currently pinning previous version. 😢 |
I am experiencing this as well. Currently pinning to v3.36.0 as that was the pervious version to work for me. thanks @csmith-n1! |
I've created a fix for this in #1649. @nick-jones, @csmith-n1, @Jayden-58 and any others following this, if you're running
|
Apologies if this is an intentional change, or we were previously relying on functionality in a way we shouldn't have been.
Before v3.37.0, it was possible to have 2 Taskfile includes declare variables with the same name, as these were treated in isolation. As a very basic example:
./Taskfile.yaml
./foo/Taskfile.yaml
./bar/Taskfile.yaml
So both includes declare a
DIR
variable. Previously these would not conflict with each other, at least from my observations:However, as of the latest release, I see that
DIR
is sometimes confused with the value declared in the other include:I'm not expecting
bar
to be referenced here at all.The text was updated successfully, but these errors were encountered: