mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-28 10:43:58 -04:00
16 lines
472 B
Bash
Executable File
16 lines
472 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd APM
|
|
./Tools/autotest/param_metadata/param_parse.py > param.out
|
|
(cd ../APM.wiki && git pull --rebase)
|
|
cmp Parameters.wiki ../APM.wiki/APM_Parameters.wiki || {
|
|
cp Parameters.wiki ../APM.wiki/APM_Parameters.wiki
|
|
cd ../APM.wiki
|
|
git commit -m 'autotest updated parameters page' --author='autotest <autotest@tridgell.net>' APM_Parameters.wiki
|
|
git push
|
|
}
|
|
/bin/mkdir -p ../buildlogs/Parameters
|
|
/bin/mv *.wiki *.xml ../buildlogs/Parameters/
|