diff --git a/CHANGELOG.md b/CHANGELOG.md index eaa34004e6..474419d46a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ (#1643, #1649 by @pd93). - Fixed a couple of bugs with the `prompt:` feature (#1657 by @pd93). - Fixed JSON Schema to disallow invalid properties (#1657 by @pd93). +- Added `TASK_EXE` special variable (#1616, #1624 by @pd93 and @andreynering). ## v3.37.1 - 2024-05-09 diff --git a/website/docs/api_reference.mdx b/website/docs/api_reference.mdx index 43f7ff49cd..246fda59ef 100644 --- a/website/docs/api_reference.mdx +++ b/website/docs/api_reference.mdx @@ -128,6 +128,7 @@ There are some special variables that is available on the templating system: | `CLI_ARGS` | Contain all extra arguments passed after `--` when calling Task through the CLI. | | `CLI_FORCE` | A boolean containing whether the `--force` or `--force-all` flags were set. | | `TASK` | The name of the current task. | +| `TASK_EXE` | The Task executable name or path. | | `ROOT_TASKFILE` | The absolute path of the root Taskfile. | | `ROOT_DIR` | The absolute path of the root Taskfile directory. | | `TASKFILE` | The absolute path of the included Taskfile. |