diff --git a/projects/astral.sh/ruff/package.yml b/projects/astral.sh/ruff/package.yml index be4b033c..13081840 100644 --- a/projects/astral.sh/ruff/package.yml +++ b/projects/astral.sh/ruff/package.yml @@ -14,7 +14,9 @@ build: - run: CRATE=ruff_cli if: <0.0.242 - run: CRATE=crates/ruff_cli - if: '>=0.0.242' + if: '>=0.0.242<0.1.14' + - run: CRATE=crates/ruff + if: '>=0.1.14' - cargo install --locked --path $CRATE --root {{prefix}} provides: diff --git a/projects/github.com/charliermarsh/ruff/package.yml b/projects/github.com/charliermarsh/ruff/package.yml index 9c9ef587..cbc1e0fc 100644 --- a/projects/github.com/charliermarsh/ruff/package.yml +++ b/projects/github.com/charliermarsh/ruff/package.yml @@ -14,8 +14,10 @@ build: script: | if semverator lt {{version}} 0.0.242; then CRATE=ruff_cli - else + elif semverator lt {{version}} 0.1.14; then CRATE=crates/ruff_cli + else + CRATE=crates/ruff fi cargo install --locked --path $CRATE --root {{prefix}}