chore: add publish script for urdf and stl + unify all releases by de… (#727)

* chore: add publish script for urdf and stl + unify all releases by default

* better cross platform publish support

* publish in dry run within ci

* publish scripts better errors, abort if a publish fails, with an exit code.

* chore(rapier_urdf): fix warnings

* chore(rapier-urdf): typo fix

---------

Co-authored-by: Sébastien Crozet <developer@crozet.re>
This commit is contained in:
Thierry Berger
2024-09-03 21:48:10 +02:00
committed by GitHub
parent 58785ce257
commit 98f9199abc
7 changed files with 82 additions and 43 deletions

14
publish-all.sh Executable file
View File

@@ -0,0 +1,14 @@
#! /bin/bash
if [[ "$PUBLISH_MODE" == 1 ]]
then
./scripts/publish-rapier.sh &&
./scripts/publish-testbeds.sh &&
./scripts/publish-extra-formats.sh
else
echo "Running in dry mode, re-run with \`PUBLISH_MODE=1 publish-all.sh\` to actually publish."
DRY_RUN="--dry-run" ./scripts/publish-rapier.sh &&
DRY_RUN="--dry-run" ./scripts/publish-testbeds.sh &&
DRY_RUN="--dry-run" ./scripts/publish-extra-formats.sh
fi