Valentin Maerten
bb90822ee0
fix(taskfile): resolve directory paths in remote git includes
...
When a remote Taskfile includes another Taskfile using a directory path
(e.g., `taskfile: ./website`), use fsext.SearchPath to properly resolve
it by searching for Taskfile.yml inside the directory.
This also simplifies the logic by delegating all path resolution to
SearchPath, which handles both file and directory paths.
2025-12-23 20:03:27 +01:00
Valentin Maerten
618538f4a8
fix(taskfile): omit ref param when cloning remote git repos without explicit ref
...
When no ref is specified in a remote Taskfile URL, go-getter was being
passed ref=HEAD which git interprets as a literal branch name, causing
"Remote branch HEAD not found" errors.
Now we omit the ref parameter entirely when not specified, letting git
clone the remote's default branch.
2025-12-23 19:56:21 +01:00
Andrey Nering
8dfafe507f
v3.46.3
v3.46.3
nightly
2025-12-19 15:50:51 -03:00
Andrey Nering
678fdec7d2
docs(changelog): add entry for #2593 and #2594
2025-12-19 15:50:33 -03:00
Valentin Maerten
3626b271a7
fix(completion): correct zsh pattern matching for global flag ( #2594 )
2025-12-19 15:48:59 -03:00
Andrey Nering
fc378cfb92
v3.46.2
v3.46.2
2025-12-18 17:55:19 -03:00
Andrey Nering
9488a2a744
docs(changelog): add entry for #2588 and #2589
2025-12-18 17:54:38 -03:00
Andrey Nering
6ece2445ae
docs(changelog): change tag to match release on github
2025-12-18 17:51:33 -03:00
Valentin Maerten
9b95e758f4
fix: cli variables should take priority over aaskfile defaults ( #2589 )
...
When using `task FOO=bar` with a Taskfile containing
`FOO: '{{.FOO | default "foo"}}'`, the CLI value was being
overwritten by the Taskfile default.
Split the variable merging into two steps:
1. Merge CLI variables (FOO=bar) first so they override Taskfile vars
2. ReverseMerge special variables (CLI_ARGS, CLI_FORCE, etc.) so
they're available for templating in Taskfile vars
Fixes regression introduced in #2403 .
Co-authored-by: Timothy Rule <timothy.rule@gmail.com >
2025-12-18 17:50:00 -03:00
Valentin Maerten
28fee2c356
v3.46.1
v3.46.1
2025-12-18 17:42:03 +01:00
Valentin Maerten
763e77467b
fix: cloudsmith alpine upload
2025-12-18 17:41:54 +01:00
Valentin Maerten
f2385e625d
v3.46.0
v3.46.0
2025-12-18 17:29:29 +01:00
Valentin Maerten
e929cccd73
docs: better changelog ( #2586 )
2025-12-18 16:42:55 +01:00
Valentin Maerten
cb183349b7
refactor: migrate from go-git to go-getter ( #2512 )
2025-12-18 12:21:30 +01:00
Valentin Maerten
2ebbb99f58
improve website's SEO
2025-12-18 08:52:43 +01:00
Valentin Maerten
6660afc8d2
feat: auto-detect color output in CI environments ( #2569 )
2025-12-18 08:40:37 +01:00
Valentin Maerten
b710259bfa
feat(completion): add zstyle verbose option for zsh completion ( #2571 )
2025-12-18 08:35:56 +01:00
Valentin Maerten
4ec6c453bd
feat: add remote.cache-dir taskrc option ( #2572 )
2025-12-18 08:32:11 +01:00
Valentin Maerten
28408ef3f4
fix(schema): workaround IntelliJ JSON Schema validation bug ( #2576 )
2025-12-15 23:03:13 +01:00
Valentin Maerten
a2d34ffc4c
chore: changelog for #2577
2025-12-15 22:45:52 +01:00
Semih Buyukgungor
1a190a118f
feat: expose .CLI_ASSUME_YES templating variable ( #2577 )
2025-12-15 22:42:27 +01:00
renovate[bot]
18efa3982f
chore(deps): update all non-major dependencies ( #2580 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-15 14:33:40 -03:00
Valentin Maerten
655e83454e
fix(completion): handle colons in task descriptions for fish ( #2573 )
2025-12-14 15:56:18 +01:00
Valentin Maerten
3ad4604c36
fix(completion): support --global flag in zsh completion ( #2574 )
2025-12-14 15:51:15 +01:00
Valentin Maerten
5a27d04655
chore: changelog for #2552
2025-12-12 22:30:18 +01:00
Timothy Rule
ea933bcc55
fix: support error_ignore for a task call ( #2552 )
2025-12-12 22:28:20 +01:00
Valentin Maerten
e0d6b71971
chore: changelog for #2568
2025-12-12 21:25:59 +01:00
Valentin Maerten
d7ee855e49
feat: emit error annotations in GitHub Actions ( #2568 )
2025-12-12 21:23:37 +01:00
Valentin Maerten
511f35a456
chore: changelog for #2403
2025-12-12 21:23:17 +01:00
Valentin Maerten
5889ff6b65
fix: globals vars are available in vars at root level ( #2403 )
2025-12-12 21:20:27 +01:00
Valentin Maerten
85a98b5f90
chore: changelog for #2566
2025-12-12 21:11:30 +01:00
Timothy Rule
89b6140166
fix: always run a watch task regardless of run setting ( #2566 )
2025-12-12 21:09:35 +01:00
renovate[bot]
8cd51af3b0
chore(deps): update all non-major dependencies ( #2540 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-07 21:45:11 +01:00
Valentin Maerten
a40ddd4949
refactor: optimize fuzzy matching with lazy initialization ( #2523 )
2025-12-07 21:43:26 +01:00
Andrey Nering
b1814277c2
docs(changelog): fix typo
2025-12-07 17:32:31 -03:00
Andrey Nering
500ab8b941
docs(changelog): add entry for #2433
2025-12-07 17:31:25 -03:00
Andrey Nering
745633dc0e
fix: a couple of fixes and improvements on task --init ( #2433 )
...
* Fixed check for an existing Taskfile: look for all possibilities, and
not only `Taskfile.yml` specifically.
* Added a description (`desc`) to the `default` task. Important to at
least `task --list` work by default (a core feature).
* Changed top comment to YAML language server comment.
2025-12-07 20:29:51 +00:00
Andrey Nering
9b99866224
feat: add --failfast and failtest: true to control dependencies ( #2525 )
2025-12-07 17:23:08 -03:00
Valentin Maerten
54e4905432
ci(renovate): track golangci-lint version in workflows ( #2557 )
2025-12-07 12:53:56 +01:00
Valentin Maerten
c95805e0e0
build(deps): update crypto dependencies ( #2555 )
2025-12-07 12:44:05 +01:00
Valentin Maerten
4560589652
ci(lint): update golangci-lint-action to v2.7.1 ( #2556 )
2025-12-07 12:41:44 +01:00
renovate[bot]
084d6444b4
chore(deps): update actions/setup-node action to v6 ( #2553 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-07 12:28:50 +01:00
Valentin Maerten
3fb7919577
build(deps): upgrade xsync from v3 to v4 ( #2554 )
2025-12-07 12:28:31 +01:00
Valentin Maerten
69b345efc9
chore: changelog for #2495
2025-12-07 12:21:30 +01:00
Valentin Maerten
4af5278d73
fix: autocomplete works with other binary than 'task' ( #2495 )
2025-12-07 12:20:45 +01:00
Valentin Maerten
12fbdd3ec7
chore: changelog for #2491
2025-12-07 12:19:02 +01:00
Maciej Lech
72a349b0e9
feat: add --trusted-hosts CLI and remote.trusted-hosts config for remote tasks ( #2491 )
...
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com >
2025-12-07 12:17:54 +01:00
Valentin Maerten
896d65b21f
ci(release): switch to npm trusted publishers with OIDC ( #2550 )
2025-12-07 09:55:18 +01:00
Valentin Maerten
2161f33b5c
chore: changelog for #2536
2025-12-02 20:38:02 +01:00
Valentin Maerten
b93638b97a
fix: allow application/octet-stream for a Remote taskfile ( #2536 )
2025-12-02 20:36:35 +01:00