Revert "discard version files"

This reverts commit 1c80c2108d.
This commit is contained in:
Frank Haverland
2022-09-19 19:47:35 +02:00
parent 7dd14282c6
commit c4e69bc036

View File

@@ -43,11 +43,6 @@ jobs:
- name: Copy artifacts 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"
@@ -59,7 +54,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.