start machine generating curfirmwareversion

This commit is contained in:
geeksville 2020-02-24 09:55:02 -08:00
parent b0e0ee6934
commit 15ea13c286
2 changed files with 14 additions and 2 deletions

View File

@ -38,6 +38,18 @@ done
# keep the bins in archive also
cp $OUTDIR/firmware* $ARCHIVEDIR
cat >$OUTDIR/curfirmwareversion.xml <<XML
<?xml version="1.0" encoding="utf-8"?>
<!-- This file is kept in source control because it reflects the last stable
release. It is used by the android app for forcing software updates. Do not edit.
Generated by bin/buildall.sh -->
<resources>
<string name="cur_firmware_version">$VERSION</string>
</resources>
XML
zip $ARCHIVEDIR/firmware-$VERSION.zip $OUTDIR/firmware-*-$VERSION.bin
echo BUILT ALL

View File

@ -5,5 +5,5 @@ release. It is used by the android app for forcing software updates. Do not ed
Generated by bin/buildall.sh -->
<resources>
<string name="cur_firmware_version">0.0.3</string>
</resources>
<string name="cur_firmware_version">0.0.5</string>
</resources>