Skip to content

Commit

Permalink
chore: release 2024.11.32
Browse files Browse the repository at this point in the history
  • Loading branch information
mise-en-dev authored and jdx committed Nov 27, 2024
1 parent ba4f36a commit 20a59cd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
8 changes: 2 additions & 6 deletions docs/tasks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Here's my favorite features about mise's task runner:
- ability to write tasks as actual bash script files and not inside yml/json/toml strings that lack
syntax highlighting and linting/checking support

There are 2 ways to define tasks: [inside of `mise.toml` files](./toml-tasks.html) or as [standalone shell scripts](./file-tasks.html).

## Task Environment Variables

- `root` - the root of the project, defaults to the directory of the `mise.toml` file
Expand Down Expand Up @@ -46,12 +48,6 @@ task3 = "echo task3"
run = "echo task4"
```

## Running tasks

Tasks can be run with `mise run <TASK>` or `mise <TASK>`—if the name doesn't conflict with a mise command.
Because mise may later add a command with a conflicting name, it's recommended to use `mise run <TASK>` in
scripts and documentation.

## Vars

Vars are variables that can be shared between tasks like environment variables but they are not
Expand Down
6 changes: 6 additions & 0 deletions docs/tasks/running-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,9 @@ mise watch -t build -- --print-events --verbose

See watchexec's help with `watchexec --help` or `mise watch -- --help` to see
all of the options.

## `mise run` shorthand

Tasks can be run with `mise run <TASK>` or `mise <TASK>`—if the name doesn't conflict with a mise command.
Because mise may later add a command with a conflicting name, it's recommended to use `mise run <TASK>` in
scripts and documentation.
2 changes: 1 addition & 1 deletion registry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ eza.backends = ["asdf:lwiechec/asdf-eza"]
fd.backends = ["ubi:sharkdp/fd", "asdf:https://gitlab.com/wt0f/asdf-fd"]
ffmpeg.backends = ["asdf:acj/asdf-ffmpeg"]
figma-export.backends = ["ubi:RedMadRobot/figma-export", "asdf:younke/asdf-figma-export"]
figma-export.test = ["figma-export --version", "{{version}}"]
# figma-export.test = ["figma-export --version", "{{version}}"] flaky
fillin.backends = ["aqua:itchyny/fillin", "asdf:ouest/asdf-fillin"]
firebase.backends = ["asdf:jthegedus/asdf-firebase"]
fission.backends = ["aqua:fission/fission", "asdf:virtualstaticvoid/asdf-fission"]
Expand Down
1 change: 1 addition & 0 deletions src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ fn with_github_auth(url: &Url, mut req: RequestBuilder) -> RequestBuilder {
if url.host_str() == Some("api.github.com") {
if let Some(token) = &*env::GITHUB_TOKEN {
req = req.header("authorization", format!("token {}", token));
req = req.header("x-github-api-version", "2022-11-28");
}
}
req
Expand Down

0 comments on commit 20a59cd

Please sign in to comment.