Add new TASK_VERSION special variable

Closes #1014
Closes #990
This commit is contained in:
João Pedro
2023-02-19 22:28:17 -03:00
committed by Andrey Nering
parent 12a1cd6f62
commit ec2110e58f
10 changed files with 45 additions and 28 deletions

View File

@@ -58,6 +58,7 @@ There are some special variables that is available on the templating system:
| `USER_WORKING_DIR` | The absolute path of the directory `task` was called from. |
| `CHECKSUM` | The checksum of the files listed in `sources`. Only available within the `status` prop and if method is set to `checksum`. |
| `TIMESTAMP` | The date object of the greatest timestamp of the files listes in `sources`. Only available within the `status` prop and if method is set to `timestamp`. |
| `TASK_VERSION` | The current version of task. |
## ENV