Skip to content

Commit

Permalink
Fix error: the --ignore-rust-version flag is unstable, and only ava…
Browse files Browse the repository at this point in the history
…ilable on the nightly channel of Cargo, but this is the `stable` channel
  • Loading branch information
ALVSoft committed Aug 28, 2024
1 parent 15e7dc5 commit 68e0475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/build_scripts/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do
# use subshell to avoid having to cd back (SC2103)
(
cd /tmp/pg_jsonschema
cargo update --quiet --ignore-rust-version --package pgrx --precise="$PGRX_VERSION12"
mv -f .cargo/config .cargo/config.toml
cargo update --quiet --package pgrx --precise="$PGRX_VERSION12"
cargo pgrx install --pg-config="$PG_CONFIG" --release
)

Expand All @@ -243,8 +243,8 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do
# use subshell to avoid having to cd back (SC2103)
(
cd /tmp/pg_graphql
cargo update --quiet --ignore-rust-version --package pgrx --precise="$PGRX_VERSION12"
mv -f .cargo/config .cargo/config.toml
cargo update --quiet --package pgrx --precise="$PGRX_VERSION12"
cargo pgrx install --pg-config="$PG_CONFIG" --release
)
fi
Expand Down

0 comments on commit 68e0475

Please sign in to comment.