only:Improve toolset for default tune canned tune generation #4871

This commit is contained in:
Andrey 2023-06-16 21:52:56 -04:00
parent e49abab407
commit a02d7fffc1
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub gen-default-tune Action"
git add 'simulator/generated/*xml'
# get the original ramdisk images back in order to not overwrite the default placeholder
git checkout -- firmware/hw_layer/mass_storage/ramdisk_image.h firmware/hw_layer/mass_storage/ramdisk_image_compressed.h
git checkout -- java_tools/enum2string.jar
git status
OUT=$(git commit -am "Auto-generated default tune" 2>&1) || echo "commit failed, finding out why"
if echo "$OUT" | grep 'nothing to commit'; then