Browse Source

fixed the action workflow

pull/157/head
Andreas Schiffler 2 years ago
parent
commit
58a8949653
  1. 8
      tools/esp8266/scripts/getVersion.py

8
tools/esp8266/scripts/getVersion.py

@ -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)

Loading…
Cancel
Save