From 7f425e094a1335eb657ad5e35f250d1f9b47de43 Mon Sep 17 00:00:00 2001 From: lumapu Date: Sun, 7 Jan 2024 20:40:25 +0100 Subject: [PATCH] github action test --- scripts/getVersion.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/getVersion.py b/scripts/getVersion.py index 8d6d1cf8..a60a772d 100644 --- a/scripts/getVersion.py +++ b/scripts/getVersion.py @@ -75,11 +75,11 @@ def renameFw(path_define, env): dst = "firmware/" + fwDir fname = version[:-1] + "_" + sha + "_" + env + ".bin" - os.rename(".pio/build/" + env + "/firmware.bin", dst + fname) + os.rename("src/.pio/build/" + env + "/firmware.bin", dst + fname) if env[:5] == "esp32": - os.rename(".pio/build/" + env + "/bootloader.bin", dst + "bootloader.bin") - os.rename(".pio/build/" + env + "/partitions.bin", dst + "partitions.bin") + os.rename("src/.pio/build/" + env + "/bootloader.bin", dst + "bootloader.bin") + os.rename("src/.pio/build/" + env + "/partitions.bin", dst + "partitions.bin") genOtaBin(dst) if env[:7] == "esp8285":