1
0
mirror of https://github.com/go-task/task.git synced 2024-12-04 10:24:45 +02:00

chore: add changelog for #1764

This commit is contained in:
Andrey Nering 2024-08-24 21:57:09 -03:00
parent 045d054a5f
commit defbcf6acd
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,8 @@
- Updated minimum required Go version to 1.22 (#1758 by @pd93).
- Expose a new `EXIT_CODE` special variable on `defer:` when a command finishes
with a non-zero exit code (#1484, #1762 by @dorimon-1 and @andreynering).
- Expose a new `ALIAS` special variable, which will contain the alias used to
call the current task. Falls back to the task name. (#1764 by @DanStory).
## v3.38.0 - 2024-06-30

View File

@ -107,7 +107,7 @@ special variable will be overridden.
| `CLI_SILENT` | A boolean containing whether the `--silent` flag was set. |
| `CLI_VERBOSE` | A boolean containing whether the `--verbose` flag was set. |
| `TASK` | The name of the current task. |
| `ALIAS` | The alias used for the current task, otherwise matches `TASK` |
| `ALIAS` | The alias used for the current task, otherwise matches `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. |