We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to reproduce this example from the doc: https://taskfile.dev/usage/#env-files
I expect to see the following output: Using VALUE and endpoint testing.com
Using VALUE and endpoint testing.com
I see the following: Using VALUE and endpoint
Using VALUE and endpoint
Installation method: npm install -g @go-task/cli npm version: 10.8.2 node version: v20.17.0 os version: Ubuntu 20.04.6 LTS under WSL in Windows 10
npm install -g @go-task/cli
Task version: v3.41.0 (h1:giUddhe0XZLbEWIQ/MuTPipR9ek+teulIA5xf/2IHXg=)
Ubuntu 20.04.6 LTS (WSL in Windows 10)
No response
# .env KEYNAME=VALUE
# testing/.env ENDPOINT=testing.com
# Taskfile.yml version: '3' env: ENV: testing dotenv: ['.env', '{{.ENV}}/.env.', '{{.HOME}}/.env'] tasks: greet: cmds: - echo "Using $KEYNAME and endpoint $ENDPOINT"
The text was updated successfully, but these errors were encountered:
Hello ! There is a typo in the documentation: there is a dot at the end of {{.ENV}}/.env. that should not be there.
{{.ENV}}/.env.
Using this Taskfile works as expected
# Taskfile.yml version: '3' env: ENV: testing dotenv: ['.env', '{{.ENV}}/.env', '{{.HOME}}/.env'] tasks: greet: cmds: - echo "Using $KEYNAME and endpoint $ENDPOINT"
Sorry, something went wrong.
No branches or pull requests
Description
Trying to reproduce this example from the doc:
https://taskfile.dev/usage/#env-files
I expect to see the following output:
Using VALUE and endpoint testing.com
I see the following:
Using VALUE and endpoint
Installation method:
npm install -g @go-task/cli
npm version: 10.8.2
node version: v20.17.0
os version: Ubuntu 20.04.6 LTS under WSL in Windows 10
Version
Task version: v3.41.0 (h1:giUddhe0XZLbEWIQ/MuTPipR9ek+teulIA5xf/2IHXg=)
Operating system
Ubuntu 20.04.6 LTS (WSL in Windows 10)
Experiments Enabled
No response
Example
The text was updated successfully, but these errors were encountered: