Skip to content

Commit

Permalink
Fix The installed cargo-pgrx 0.12.1 is not compatible with the depend…
Browse files Browse the repository at this point in the history
…encies in ./Cargo.toml:

#33 1790.8       pgrx = 0.11.3
  • Loading branch information
ALVSoft committed Aug 28, 2024
1 parent e13c505 commit fdccd2d
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 @@ -233,7 +233,7 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do
(
cd /tmp/pg_jsonschema
mv -f .cargo/config .cargo/config.toml
cargo upgrade --recursive true --package "pgrx@$PGRX_VERSION"
cargo upgrade --incompatible allow --package "pgrx@$PGRX_VERSION" --recursive true
#cargo generate-lockfile
#cargo update --quiet --workspace pgrx* --precise "$PGRX_VERSION"
cargo pgrx install --pg-config="$PG_CONFIG" --release
Expand All @@ -246,7 +246,7 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do
(
cd /tmp/pg_graphql
mv -f .cargo/config .cargo/config.toml
cargo upgrade --recursive true --package "pgrx@$PGRX_VERSION"
cargo upgrade --incompatible allow --package "pgrx@$PGRX_VERSION" --recursive true
cargo pgrx install --pg-config="$PG_CONFIG" --release
)
fi
Expand Down

0 comments on commit fdccd2d

Please sign in to comment.