File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,23 @@ currdir=$(pwd)
2424cd " $tmp " && cargo publish $DRY_RUN
2525cd " $currdir " || exit
2626
27-
2827# ## Publish the 3D version.
2928$gsed ' s#\.\./\.\./src#src#g' crates/rapier_testbed3d/Cargo.toml > " $tmp " /Cargo.toml
3029$gsed -i ' s#\.\./rapier#./crates/rapier#g' " $tmp " /Cargo.toml
3130cp -r LICENSE README.md " $tmp " /.
3231cd " $tmp " && cargo publish $DRY_RUN
3332
33+ # ## Publish the 2D f64 version.
34+ $gsed ' s#\.\./\.\./src#src#g' crates/rapier_testbed2d-f64/Cargo.toml > " $tmp " /Cargo.toml
35+ $gsed -i ' s#\.\./rapier#./crates/rapier#g' " $tmp " /Cargo.toml
36+ currdir=$( pwd)
37+ cd " $tmp " && cargo publish $DRY_RUN
38+ cd " $currdir " || exit
39+
40+ # ## Publish the 3D f64 version.
41+ $gsed ' s#\.\./\.\./src#src#g' crates/rapier_testbed3d-f64/Cargo.toml > " $tmp " /Cargo.toml
42+ $gsed -i ' s#\.\./rapier#./crates/rapier#g' " $tmp " /Cargo.toml
43+ cp -r LICENSE README.md " $tmp " /.
44+ cd " $tmp " && cargo publish $DRY_RUN
45+
3446rm -rf " $tmp "
You can’t perform that action at this time.
0 commit comments