Skip to content

Commit

Permalink
0.8.122
Browse files Browse the repository at this point in the history
* fix workflow
  • Loading branch information
lumapu committed May 23, 2024
1 parent 6903969 commit 4ca0562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compile_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
- name: Clean elf files (7z compressed) for Artifact
run: |
rm -f \
${{ steps.version_name.outputs.name }}/*/firmware.elf.7z
${{ steps.version_name.outputs.name }}/*/*.elf.7z
- name: Create Artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion scripts/getVersion.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ def renameFw(path_define, env):
fname = version[:-1] + "_" + sha + "_" + env + ".bin"

os.rename("src/.pio/build/" + env + "/firmware.bin", dst + fname)
os.rename("src/.pio/build/" + env + "/firmware.elf.7z", dst + fname[:-3] + "elf.7z")

if env[:5] == "esp32":
os.rename("src/.pio/build/" + env + "/bootloader.bin", dst + "bootloader.bin")
os.rename("src/.pio/build/" + env + "/partitions.bin", dst + "partitions.bin")
os.rename("src/.pio/build/" + env + "/firmware.elf.7z", dst + fname[:-3] + "elf.7z")
genOtaBin(dst)

if env[:7] == "esp8285":
Expand Down

0 comments on commit 4ca0562

Please sign in to comment.