mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
script/bootstrap: Fix sqlx command by using newer version (#15980)
Some checks are pending
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
Some checks are pending
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
Version 0.5.7 doesn't have the `--database-url` command line flag, so
`script/bootstrap` didn't work.
Since we use `0.7` in collab (see
[here](73fb8277fc/crates/collab/Cargo.toml (L60)
))
and sqlx 0.7.2 has the `--database-url` flag, we use that instead.
Release Notes:
- N/A
Co-authored-by: Bennet <bennet@zed.dev>
This commit is contained in:
parent
a71bfd41cc
commit
9a211b239c
1 changed files with 3 additions and 3 deletions
|
@ -11,9 +11,9 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install sqlx-cli if needed
|
# Install sqlx-cli if needed
|
||||||
if [[ "$(sqlx --version)" != "sqlx-cli 0.5.7" ]]; then
|
if [[ "$(sqlx --version)" != "sqlx-cli 0.7.2" ]]; then
|
||||||
echo "sqlx-cli not found or not the required version, installing version 0.5.7..."
|
echo "sqlx-cli not found or not the required version, installing version 0.7.2..."
|
||||||
cargo install sqlx-cli --version 0.5.7
|
cargo install sqlx-cli --version 0.7.2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd crates/collab
|
cd crates/collab
|
||||||
|
|
Loading…
Reference in a new issue