mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 13:06:54 +03:00
discard version files
This commit is contained in:
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
@@ -43,6 +43,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy to firmware folder
|
- name: Copy to firmware folder
|
||||||
run: |
|
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/firmware.bin" "firmware/firmware.bin"
|
||||||
cp -f "./code/.pio/build/esp32cam/bootloader.bin" "firmware/bootloader.bin"
|
cp -f "./code/.pio/build/esp32cam/bootloader.bin" "firmware/bootloader.bin"
|
||||||
cp -f "./code/.pio/build/esp32cam/partitions.bin" "firmware/partitions.bin"
|
cp -f "./code/.pio/build/esp32cam/partitions.bin" "firmware/partitions.bin"
|
||||||
@@ -54,7 +59,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|
||||||
|
|
||||||
# Old OTA concept
|
# Old OTA concept
|
||||||
# firmware__*.zip needs to be unpacked before attaching to the release!
|
# firmware__*.zip needs to be unpacked before attaching to the release!
|
||||||
# The bin filename can contain versioning.
|
# The bin filename can contain versioning.
|
||||||
|
|||||||
Reference in New Issue
Block a user