Skip to content

Commit

Permalink
fixed the action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aschiffler committed Aug 12, 2022
1 parent e488ecf commit 58a8949
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/esp8266/scripts/getVersion.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ def readVersion(path, infile):

os.mkdir(path + ".pio/build/out/")

versionout = version[:-1] + "_esp8266_node_mcu_v2.bin"
src = path + ".pio/build/node_mcu_v2/firmware.bin"
versionout = version[:-1] + "_esp8266_debug.bin"
src = path + ".pio/build/esp8266-debug/firmware.bin"
dst = path + ".pio/build/out/" + versionout
os.rename(src, dst)

versionout = version[:-1] + "_esp8266_d1_mini.bin"
src = path + ".pio/build/d1_mini/firmware.bin"
versionout = version[:-1] + "_esp8266_release.bin"
src = path + ".pio/build/esp8266-release/firmware.bin"
dst = path + ".pio/build/out/" + versionout
os.rename(src, dst)

Expand Down

0 comments on commit 58a8949

Please sign in to comment.