Skip to content

Using variables in sources section results in invalid "is up to date" #1986

@korverdev

Description

@korverdev

Description

I'm not sure if this is intended behavior or not, but couldn't find another issue on this so I wanted to at least raise the question.

Variables are seemingly ignored in the sources section, resulting in a bad checksum. To recreate, use the example Taskfile below and run the following commands:

task example
task example DIR=other_dir

Oh, and this project is awesome! Thanks for all the hard work!

Version

v3.40.1

Operating system

Ubuntu 24.04

Experiments Enabled

No response

Example Taskfile

version: "3"

example:
        vars:
            DIR: "packages"
        cmds:
            - echo "Ran"
        sources:
            - "{{.DIR}}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions