From 3a2f5f7cf5e21cfa5a3cc687caa8f4fbc3c04984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sun, 16 Jan 2022 17:25:57 +0100 Subject: [PATCH] Fix publish script --- publish.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/publish.sh b/publish.sh index 9431d3ead..56c6db047 100755 --- a/publish.sh +++ b/publish.sh @@ -8,27 +8,27 @@ cp -r src "$tmp"/. cp -r LICENSE README.md "$tmp"/. ### Publish the 2D version. -sed 's#\.\./\.\./src#src#g' build/rapier2d/Cargo.toml > "$tmp"/Cargo.toml +sed 's#\.\./\.\./src#src#g' crates/rapier2d/Cargo.toml > "$tmp"/Cargo.toml currdir=$(pwd) cd "$tmp" && cargo publish cd "$currdir" || exit ### Publish the 3D version. -sed 's#\.\./\.\./src#src#g' build/rapier3d/Cargo.toml > "$tmp"/Cargo.toml +sed 's#\.\./\.\./src#src#g' crates/rapier3d/Cargo.toml > "$tmp"/Cargo.toml cp -r LICENSE README.md "$tmp"/. cd "$tmp" && cargo publish cd "$currdir" || exit ### Publish the 2D f64 version. -sed 's#\.\./\.\./src#src#g' build/rapier2d-f64/Cargo.toml > "$tmp"/Cargo.toml +sed 's#\.\./\.\./src#src#g' crates/rapier2d-f64/Cargo.toml > "$tmp"/Cargo.toml currdir=$(pwd) cd "$tmp" && cargo publish cd "$currdir" || exit ### Publish the 3D f64 version. -sed 's#\.\./\.\./src#src#g' build/rapier3d-f64/Cargo.toml > "$tmp"/Cargo.toml +sed 's#\.\./\.\./src#src#g' crates/rapier3d-f64/Cargo.toml > "$tmp"/Cargo.toml cp -r LICENSE README.md "$tmp"/. cd "$tmp" && cargo publish