From 1c80c2108de997fea6ee9dac4b6182ce5a3d6c33 Mon Sep 17 00:00:00 2001 From: Frank Haverland Date: Mon, 19 Sep 2022 19:13:51 +0200 Subject: [PATCH] discard version files --- .github/workflows/build.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0adb0436..e0848680 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,6 +43,11 @@ jobs: - name: Copy to firmware folder run: | + # discard changes on version.txt and version.cpp + git checkout -- sd-card/html/version.txt + git checkout -- code/version.cpp + git checkout -- code/main/version.cpp + # copy builds to firmware folder for committing in next step cp -f "./code/.pio/build/esp32cam/firmware.bin" "firmware/firmware.bin" cp -f "./code/.pio/build/esp32cam/bootloader.bin" "firmware/bootloader.bin" cp -f "./code/.pio/build/esp32cam/partitions.bin" "firmware/partitions.bin" @@ -54,7 +59,7 @@ jobs: with: default_author: github_actions - + # Old OTA concept # firmware__*.zip needs to be unpacked before attaching to the release! # The bin filename can contain versioning.