1
0
mirror of https://github.com/go-task/task.git synced 2025-03-17 21:08:01 +02:00

Fix a bug when the checksum up-to-date resolution is used by a task with a custom label: attribute

Closes #412

Co-authored-by: Adam Wasila <adam.wasila@gmail.com>
This commit is contained in:
Andrey Nering 2021-01-03 19:22:38 -03:00
parent 6630113fef
commit e09e75b0ba
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@
## Unreleased
- Fix a bug when the checksum up-to-date resolution is used by a task
with a custom `label:` attribute
([#412](https://github.com/go-task/task/issues/412)).
- Starting from this release, we're releasing official ARMv6 and ARM64 binaries
for Linux
([#375](https://github.com/go-task/task/issues/375), [#418](https://github.com/go-task/task/issues/418)).

View File

@ -77,7 +77,7 @@ func (e *Executor) timestampChecker(t *taskfile.Task) status.Checker {
func (e *Executor) checksumChecker(t *taskfile.Task) status.Checker {
return &status.Checksum{
Dir: t.Dir,
Task: t.Task,
Task: t.Name(),
Sources: t.Sources,
Generates: t.Generates,
Dry: e.Dry,