fix: support .MATCH in wildcard include vars

This commit is contained in:
Valentin Maerten
2026-07-20 08:57:45 +02:00
parent 81c4291803
commit e08fc2e587
6 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
version: "3"
includes:
'stack:*':
taskfile: ./stack/Taskfile.yml
vars:
ENV: '{{index .MATCH 0}}'

View File

@@ -0,0 +1,6 @@
version: "3"
tasks:
deploy:
cmds:
- echo "Deploying to {{.ENV}}"