only:no reason to reset?

This commit is contained in:
rusefillc 2023-12-10 18:20:53 -05:00
parent 9dedc11aee
commit 9cf88e65e0
1 changed files with 6 additions and 4 deletions

View File

@ -79,15 +79,17 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub gen-default-tune Action"
echo See https://github.com/rusefi/rusefi/issues/2446
git pull https://github.com/rusefi/rusefi master
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 status
# not out place to update live data etc
git checkout -- **/*.java
git checkout -- **/*.ini
git checkout -- **/*.h
git status
git pull https://github.com/rusefi/rusefi master
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 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
echo "default tune: looks like nothing to commit"