Create buildRelease.sh

This commit is contained in:
RogueMaster
2022-10-04 19:01:06 -04:00
parent 47829975ed
commit dcd1e7fb87

6
buildRelease.sh Normal file
View File

@@ -0,0 +1,6 @@
git pull
./fbt updater_package
DATE_VAR=`date +%Y%m%d`
TIME_VAR=`date +%H%M`
VER_VAR=`cat scripts/version.py | awk '/VERSION/{ gsub(/[",]/,"",$2); print $2}' | tail -1`
tar czpf "$VER_VAR-$DATE_VAR-RM-$TIME_VAR.tgz" -C dist/f7-C f7-update-RM420FAP