mirror of
https://github.com/go-task/task.git
synced 2026-08-29 10:08:27 +02:00
refactor: centralize fingerprint method resolution in a Fingerprinter (#2924)
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
- Further improved fingerprinting performance on large repositories: hashing
|
||||
source files now reuses a single buffer, reducing memory allocations by ~98%
|
||||
and wall-clock time by ~7% (#2925 by @vmaerten).
|
||||
- Fixed the fingerprint variable (`{{.CHECKSUM}}`/`{{.TIMESTAMP}}`) ignoring a
|
||||
`method:` set at the Taskfile level: the variable now follows the same method
|
||||
resolution as the up-to-date check. Only the variable matching the effective
|
||||
method is injected, so a task inheriting a Taskfile-level `method: timestamp`
|
||||
gets `{{.TIMESTAMP}}` and no longer a `{{.CHECKSUM}}` (which now renders as an
|
||||
empty string), and neither variable is injected when the effective method is
|
||||
`none` (#2924 by @vmaerten).
|
||||
|
||||
## v3.52.0 - 2026-07-02
|
||||
|
||||
|
||||
Reference in New Issue
Block a user