Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiegurari committed Oct 12, 2024
1 parent 80bf3cb commit 9287fc2
Show file tree
Hide file tree
Showing 105 changed files with 163 additions and 171 deletions.
2 changes: 1 addition & 1 deletion .buildnumber
Original file line number Diff line number Diff line change
@@ -1 +1 @@
276
277
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## CHANGELOG

### v0.37.22
### v0.37.22 (2024-10-12)

* Fix: set env CARGO_MAKE_CURRENT_TASK_NAME before condition invocation #1173

Expand Down
50 changes: 25 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-make"
version = "0.37.21"
version = "0.37.22"
authors = ["Sagie Gur-Ari <[email protected]>"]
description = "Rust task runner and build tool."
license = "Apache-2.0"
Expand Down
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ cargo make my-flow
The output would look something like this:

```console
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: my-flow
[cargo-make] INFO - Setting Up Env.
Expand Down Expand Up @@ -665,7 +665,7 @@ Invoking cargo-make with additional arguments would result in the following:
```console
> cargo make varargs arg1 arg2 arg3

[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: varargs
[cargo-make] INFO - Setting Up Env.
Expand All @@ -682,7 +682,7 @@ Invoking cargo-make without any additional arguments would result in the followi
```console
> cargo make varargs

[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: varargs
[cargo-make] INFO - Setting Up Env.
Expand All @@ -709,7 +709,7 @@ Would output:
```console
> cargo make varargs arg1 arg2 arg3

[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: varargs
[cargo-make] INFO - Setting Up Env.
Expand Down Expand Up @@ -760,7 +760,7 @@ Invoking cargo-make with additional arguments would result in the following:
```console
> cargo make cli-args arg1 arg2 arg3

[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: cli-args
[cargo-make] INFO - Setting Up Env.
Expand All @@ -777,7 +777,7 @@ Invoking cargo-make without any additional arguments would result in the followi
```console
> cargo make cli-args

[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: cli-args
[cargo-make] INFO - Setting Up Env.
Expand Down Expand Up @@ -1039,7 +1039,7 @@ Output:

```console
> cargo make --cwd ./examples --makefile ./shebang.toml shebang-sh
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: ./shebang.toml
[cargo-make] INFO - Task: shebang-sh
[cargo-make] INFO - Profile: development
Expand All @@ -1066,7 +1066,7 @@ Output:

```console
> cargo make --cwd ./examples --makefile ./shebang.toml shebang-python
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: ./shebang.toml
[cargo-make] INFO - Task: shebang-python
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -1391,7 +1391,7 @@ args = ["3"]
We run task **3** the output would be:

```console
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: task_extend.toml
[cargo-make] INFO - Task: 3
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2630,7 +2630,7 @@ cargo make --cwd ./examples --makefile profile.toml --profile production echo
Output:

```console
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: profile.toml
[cargo-make] INFO - Task: echo
[cargo-make] INFO - Profile: production
Expand Down Expand Up @@ -2750,7 +2750,7 @@ deprecated = true
When invoking **legacy** task for example, the output is:

```console
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: deprecated.toml
[cargo-make] INFO - Task: legacy
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2791,15 +2791,15 @@ watch = true
Below is a sample output of invoking the task:

```console
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: ./examples/watch.toml
[cargo-make] INFO - Task: watch-example
[cargo-make] INFO - Setting Up Env.
[cargo-make] INFO - Running Task: init
[cargo-make] INFO - Running Task: watch-example
[cargo-make] INFO - Running Task: watch-example-watch
[cargo-make] INFO - Execute Command: "cargo" "watch" "-q" "-x" "make --disable-check-for-updates --no-on-error --loglevel=info --makefile=/projects/rust/cargo-make/examples/watch.toml watch-example"
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: /projects/rust/cargo-make/examples/watch.toml
[cargo-make] INFO - Task: watch-example
[cargo-make] INFO - Setting Up Env.
Expand Down Expand Up @@ -2883,7 +2883,7 @@ args = ["${MULTIPLE_VALUES}"]

```console
> cargo make --cwd ./examples --makefile functions.toml split
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: split
[cargo-make] INFO - Profile: development
Expand All @@ -2895,7 +2895,7 @@ args = ["${MULTIPLE_VALUES}"]
[cargo-make] INFO - Build Done in 0 seconds.

> cargo make --cwd ./examples --makefile functions.toml no-split
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: no-split
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2933,7 +2933,7 @@ args = ["@@getat(MULTIPLE_VALUES,|,3)"]

```console
> cargo make --cwd ./examples --makefile functions.toml getat
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: getat
[cargo-make] INFO - Profile: development
Expand All @@ -2960,7 +2960,7 @@ args = ["1", "@@remove-empty(DOES_NOT_EXIST)", "2"]

```console
> cargo make --cwd ./examples --makefile functions.toml remove-empty
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: remove-empty
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2993,7 +2993,7 @@ args = ["@@trim(TRIM_VALUE)"]

```console
> cargo make --cwd ./examples --makefile functions.toml remove-empty
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: trim
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -3022,7 +3022,7 @@ args = ["@@trim(TRIM_VALUE,end)"]

```console
> cargo make --cwd ./examples --makefile functions.toml trim-start
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: trim-start
[cargo-make] INFO - Profile: development
Expand All @@ -3034,7 +3034,7 @@ args = ["@@trim(TRIM_VALUE,end)"]
[cargo-make] INFO - Build Done in 0 seconds.

> cargo make --cwd ./examples --makefile functions.toml trim-end
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: trim-end
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -3072,7 +3072,7 @@ Sample run for a mapping that was found:

```console
cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=development decode
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: decode
[cargo-make] INFO - Profile: development
Expand All @@ -3088,7 +3088,7 @@ Another sample run for a mapping that was not found:

```console
cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=unmapped decode
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: decode
[cargo-make] INFO - Profile: development
Expand All @@ -3113,7 +3113,7 @@ Sample run:

```console
cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=unmapped decode-with-default
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: decode-with-default
[cargo-make] INFO - Profile: development
Expand All @@ -3137,7 +3137,7 @@ Sample run:

```console
cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=test decode-with-eval
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: decode-with-eval
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -3511,7 +3511,7 @@ In order to specify the minimal version, use the **min_version** in the config s

```toml
[config]
min_version = "0.37.21"
min_version = "0.37.22"
```

<a name="usage-performance-tuning"></a>
Expand Down Expand Up @@ -3641,7 +3641,7 @@ Example Usage:

```console
cargo make --diff-steps --makefile ./examples/override_core.toml post-build
[cargo-make] INFO - cargo make 0.37.21
[cargo-make] INFO - cargo make 0.37.22
[cargo-make] INFO - Build File: ./examples/override_core.toml
[cargo-make] INFO - Task: post-build
[cargo-make] INFO - Setting Up Env.
Expand Down
Loading

0 comments on commit 9287fc2

Please sign in to comment.