Skip to content

Environment variables not always handled as expected #425

@jfhovinne

Description

@jfhovinne
  • Task version: master
  • Operating System: GNU/Linux

Example Taskfile showing the issue

version: '3' env: GREETING: Hey, there! tasks: greet: cmds: - echo $GREETING
$ GREETING=hello task greet task: echo $GREETING hello
$ GREETING=Hello task greet task: echo $GREETING Hey, there!
$ GREETING="Hi, there!" task greet task: echo $GREETING Hi, there!

Looks like it depends on the alphabetical order of values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions