Skip to content

Commit bb05e0a

Browse files
authored
Merge branch 'main' into feat/add-vars-validation
2 parents af30b14 + 9a7e792 commit bb05e0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1068
-261
lines changed

.github/workflows/issue-awaiting-response.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
issue-awaiting-response:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/github-script@v6
11+
- uses: actions/github-script@v7
1212
with:
1313
github-token: ${{secrets.GH_PAT}}
1414
script: |

.github/workflows/issue-closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
issue-closed:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/github-script@v6
11+
- uses: actions/github-script@v7
1212
with:
1313
github-token: ${{secrets.GH_PAT}}
1414
script: |

.github/workflows/issue-experiment.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
if: github.event.label.name == format('experiment{0} proposed', ':')
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/github-script@v6
12+
- uses: actions/github-script@v7
1313
with:
1414
github-token: ${{secrets.GH_PAT}}
1515
script: |
@@ -23,7 +23,7 @@ jobs:
2323
if: github.event.label.name == format('experiment{0} draft', ':')
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/github-script@v6
26+
- uses: actions/github-script@v7
2727
with:
2828
github-token: ${{secrets.GH_PAT}}
2929
script: |
@@ -37,7 +37,7 @@ jobs:
3737
if: github.event.label.name == format('experiment{0} candidate', ':')
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/github-script@v6
40+
- uses: actions/github-script@v7
4141
with:
4242
github-token: ${{secrets.GH_PAT}}
4343
script: |
@@ -51,7 +51,7 @@ jobs:
5151
if: github.event.label.name == format('experiment{0} stable', ':')
5252
runs-on: ubuntu-latest
5353
steps:
54-
- uses: actions/github-script@v6
54+
- uses: actions/github-script@v7
5555
with:
5656
github-token: ${{secrets.GH_PAT}}
5757
script: |
@@ -65,7 +65,7 @@ jobs:
6565
if: github.event.label.name == format('experiment{0} released', ':')
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/github-script@v6
68+
- uses: actions/github-script@v7
6969
with:
7070
github-token: ${{secrets.GH_PAT}}
7171
script: |
@@ -85,7 +85,7 @@ jobs:
8585
if: github.event.label.name == format('experiment{0} abandoned', ':')
8686
runs-on: ubuntu-latest
8787
steps:
88-
- uses: actions/github-script@v6
88+
- uses: actions/github-script@v7
8989
with:
9090
github-token: ${{secrets.GH_PAT}}
9191
script: |
@@ -105,7 +105,7 @@ jobs:
105105
if: github.event.label.name == format('experiment{0} superseded', ':')
106106
runs-on: ubuntu-latest
107107
steps:
108-
- uses: actions/github-script@v6
108+
- uses: actions/github-script@v7
109109
with:
110110
github-token: ${{secrets.GH_PAT}}
111111
script: |

.github/workflows/issue-needs-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
issue-needs-triage:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/github-script@v6
11+
- uses: actions/github-script@v7
1212
with:
1313
github-token: ${{secrets.GH_PAT}}
1414
script: |

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@v4
4848
- name: Get changed files in the docs folder
4949
id: changed-files-specific
50-
uses: tj-actions/changed-files@v44
50+
uses: tj-actions/changed-files@v45
5151
with:
5252
files: website/versioned_docs/**
5353

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
go-version: 1.22.x
1919

2020
- name: Run GoReleaser
21-
uses: goreleaser/goreleaser-action@v2
21+
uses: goreleaser/goreleaser-action@v6
2222
with:
2323
version: latest
2424
args: release --clean

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ release:
4949
draft: true
5050

5151
snapshot:
52-
version_template: "{{.Tag}}"
52+
version_template: "{{.Version}}"
5353

5454
checksum:
5555
name_template: "task_checksums.txt"

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.12.1
1+
18.20.4

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
- Fixed output of some functions (e.g. `splitArgs`/`splitLines`) not working in
6+
for loops (#1822, #1823 by @stawii).
7+
- Added a new `TASK_OFFLINE` environment variable to configure the `--offline`
8+
flag and expose it as a special variable in the templating system (#1470,
9+
#1716 by @vmaerten and @pd93).
10+
- Fixed a bug where multiple remote includes caused all prompts to display
11+
without waiting for user input (#1832, #1833 by @vmaerten and @pd93).
12+
- When using the "[Remote Taskfiles](https://taskfile.dev/experiments/remote-taskfiles/)".
13+
experiment, you can now include Taskfiles from Git repositories (#1652 by @vmaerten).
14+
- Improved the error message when a dotenv file cannot be parsed (#1842 by @pbitty).
15+
- Fix issue with directory when using the remote experiment (#1757 by @pbitty).
16+
- Fixed an issue where a special variable was used in combination with a dotenv file (#1232, #1810 by @vmaerten).
17+
- Refactor the way Task reads Taskfiles to improve readability (#1771 by @pbitty).
18+
19+
## v3.39.2 - 2024-09-19
20+
21+
- Fix dynamic variables not working properly for a defer: statement (#1803,
22+
#1818 by @vmaerten).
23+
324
## v3.39.1 - 2024-09-18
425

526
- Added Renovate configuration to automatically create PRs to keep dependencies

cmd/task/task.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ func run() error {
198198
globals.Set("CLI_FORCE", ast.Var{Value: flags.Force || flags.ForceAll})
199199
globals.Set("CLI_SILENT", ast.Var{Value: flags.Silent})
200200
globals.Set("CLI_VERBOSE", ast.Var{Value: flags.Verbose})
201+
globals.Set("CLI_OFFLINE", ast.Var{Value: flags.Offline})
201202
e.Taskfile.Vars.Merge(globals, nil)
202203

203204
if !flags.Watch {

0 commit comments

Comments
 (0)