mirror of https://github.com/ArduPilot/ardupilot
autotest: buildand retain version files
This commit is contained in:
parent
e135659165
commit
39ab0e5b7d
|
@ -115,6 +115,9 @@ addfwversion() {
|
|||
version=$(grep 'define.THISFIRMWARE' *.pde *.h 2> /dev/null | cut -d'"' -f2)
|
||||
echo >> "$destdir/git-version.txt"
|
||||
echo "APMVERSION: $version" >> "$destdir/git-version.txt"
|
||||
echo "PWD"
|
||||
`pwd`
|
||||
python $BASEDIR/Tools/PrintVersion.py >"$destdir/firmware-version.txt"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue