diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-01-16 17:25:57 +0100 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2022-01-16 17:25:57 +0100 |
| commit | 3a2f5f7cf5e21cfa5a3cc687caa8f4fbc3c04984 (patch) | |
| tree | e8ceec0e665186b349cf5df75760195dfab93acf | |
| parent | 9fe55dccd5583b39996b46d9c4a456ec6f5e3a78 (diff) | |
| download | rapier-3a2f5f7cf5e21cfa5a3cc687caa8f4fbc3c04984.tar.gz rapier-3a2f5f7cf5e21cfa5a3cc687caa8f4fbc3c04984.tar.bz2 rapier-3a2f5f7cf5e21cfa5a3cc687caa8f4fbc3c04984.zip | |
Fix publish script
| -rwxr-xr-x | publish.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
