Thanks for your bug report!
Before submitting this issue, please make sure the same problem was
not already reported by someone else.
Please describe the bug you're facing. Consider pasting example
Taskfiles showing how to reproduce the problem.
- Task version: v3.23.0
- Operating System: Mac Ventura 13.2.1
- Bash: GNU bash, version 5.2.15(1)-release (x86_64-apple-darwin22.1.0)
I don't think this is a dupe of #843 or #993. I just upgraded to 3.23.0 after seeing this issue in 3.19.0. See the following, the first fails to set the variable from the environment, the second works:
version: '3'
vars:
VARS:
tasks:
hello:
cmds:
- echo "using vars {{.VARS}}"
$ VARS=vars/accounts/example/dev/ task hello
task: [hello] echo "using vars file "
using vars file
$ task hello VARS=vars/accounts/example/dev/
task: [hello] echo "using vars file vars/accounts/example/dev/"
using vars file vars/accounts/example/dev/
I don't think this is a dupe of #843 or #993. I just upgraded to 3.23.0 after seeing this issue in 3.19.0. See the following, the first fails to set the variable from the environment, the second works: