mirror of
https://github.com/astral-sh/uv.git
synced 2026-05-06 08:56:53 -04:00
Add rust-toolchain.toml to uv-build sdist (#19131)
This file was previously missing, causing errors when an older version was preinstalled. Renovate should also pick up the new file.
This commit is contained in:
@@ -73,7 +73,7 @@ jobs:
|
||||
[[ -z "$file" ]] && continue
|
||||
[[ "$file" =~ \.rs$ ]] && rust_code_changed=1
|
||||
[[ "$file" == "Cargo.toml" || "$file" == "Cargo.lock" || "$file" =~ ^crates/.*/Cargo\.toml$ ]] && rust_deps_changed=1
|
||||
[[ "$file" == "rust-toolchain.toml" || "$file" =~ ^\.cargo/ ]] && rust_config_changed=1
|
||||
[[ "$file" == "rust-toolchain.toml" || "$file" == "crates/uv-build/rust-toolchain.toml" || "$file" =~ ^\.cargo/ ]] && rust_config_changed=1
|
||||
[[ "$file" == "pyproject.toml" || "$file" =~ ^crates/.*/pyproject\.toml$ ]] && python_config_changed=1
|
||||
[[ "$file" =~ ^\.github/workflows/.*\.yml$ ]] && workflow_changed=1
|
||||
[[ "$file" == ".github/workflows/build-release-binaries.yml" || "$file" == ".github/workflows/release.yml" ]] && release_workflow_changed=1
|
||||
|
||||
@@ -48,6 +48,7 @@ strip = true
|
||||
include = [
|
||||
{ path = "LICENSE-APACHE", format = "sdist" },
|
||||
{ path = "LICENSE-MIT", format = "sdist" },
|
||||
{ path = "rust-toolchain.toml", format = "sdist" },
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
[toolchain]
|
||||
channel = "1.94.1"
|
||||
Reference in New Issue
Block a user