1
0
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:
Andrey Nering
2019-09-14 18:04:41 -03:00
parent 1a28e5e0d4
commit 14d7f04a81
4 changed files with 48 additions and 66 deletions

View File

@@ -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}}'