mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
Always expode .TIMESTAMP and .STATUS when using status:
This commit is contained in:
9
testdata/status_vars/Taskfile.yml
vendored
9
testdata/status_vars/Taskfile.yml
vendored
@@ -1,17 +1,10 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
build-with-checksum:
|
||||
build:
|
||||
sources:
|
||||
- ./source.txt
|
||||
method: checksum
|
||||
status:
|
||||
- echo "{{.CHECKSUM}}"
|
||||
|
||||
build-with-timestamp:
|
||||
sources:
|
||||
- ./source.txt
|
||||
method: timestamp
|
||||
status:
|
||||
- echo '{{.TIMESTAMP.Unix}}'
|
||||
- echo '{{.TIMESTAMP}}'
|
||||
|
Reference in New Issue
Block a user