2013-03-18 01:15:50 -03:00
|
|
|
#!/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
|
2013-03-21 19:42:10 -03:00
|
|
|
pushd ../APM.wiki
|
2013-03-18 01:15:50 -03:00
|
|
|
git commit -m 'autotest updated parameters page' --author='autotest <autotest@tridgell.net>' APM_Parameters.wiki
|
|
|
|
git push
|
2013-03-21 19:42:10 -03:00
|
|
|
popd
|
2013-03-18 01:15:50 -03:00
|
|
|
}
|
|
|
|
/bin/mkdir -p ../buildlogs/Parameters
|
2013-03-21 19:42:10 -03:00
|
|
|
/bin/cp Parameters.wiki *.pdef.xml ../buildlogs/Parameters/
|