aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-01-16 17:25:57 +0100
committerSébastien Crozet <developer@crozet.re>2022-01-16 17:25:57 +0100
commit3a2f5f7cf5e21cfa5a3cc687caa8f4fbc3c04984 (patch)
treee8ceec0e665186b349cf5df75760195dfab93acf
parent9fe55dccd5583b39996b46d9c4a456ec6f5e3a78 (diff)
downloadrapier-3a2f5f7cf5e21cfa5a3cc687caa8f4fbc3c04984.tar.gz
rapier-3a2f5f7cf5e21cfa5a3cc687caa8f4fbc3c04984.tar.bz2
rapier-3a2f5f7cf5e21cfa5a3cc687caa8f4fbc3c04984.zip
Fix publish script
-rwxr-xr-xpublish.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/publish.sh b/publish.sh
index 9431d3e..56c6db0 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