mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
Rename bin files to the new standard (#139)
* Update release.yml * Update genfilelist.py * Rename files * Create .gitignore
This commit is contained in:
40
.github/workflows/release.yml
vendored
40
.github/workflows/release.yml
vendored
@@ -39,18 +39,18 @@ jobs:
|
||||
- name: Install intelhex
|
||||
run: pip install --upgrade intelhex
|
||||
|
||||
- name: Build NRF firmware
|
||||
run: |
|
||||
cd ARM_Tag_FW/Newton_M3_nRF52811
|
||||
pio run --environment Newton_M3_22_BWR
|
||||
pio run --environment Newton_M3_29_BWR
|
||||
pio run --environment Newton_M3_75_BWR
|
||||
cp Newton_M3_22_BWR-ota.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_22_BWR-ota.bin
|
||||
cp Newton_M3_22_BWR-full-flash.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_22_BWR-full-flash.bin
|
||||
cp Newton_M3_29_BWR-ota.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_29_BWR-ota.bin
|
||||
cp Newton_M3_29_BWR-full-flash.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_29_BWR-full-flash.bin
|
||||
cp Newton_M3_75_BWR-ota.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_75_BWR-ota.bin
|
||||
cp Newton_M3_75_BWR-full-flash.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_75_BWR-full-flash.bin
|
||||
# - name: Build NRF firmware
|
||||
# run: |
|
||||
# cd ARM_Tag_FW/Newton_M3_nRF52811
|
||||
# pio run --environment Newton_M3_22_BWR
|
||||
# pio run --environment Newton_M3_29_BWR
|
||||
# pio run --environment Newton_M3_75_BWR
|
||||
# cp Newton_M3_22_BWR-ota.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_22_BWR-ota.bin
|
||||
# cp Newton_M3_22_BWR-full-flash.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_22_BWR-full-flash.bin
|
||||
# cp Newton_M3_29_BWR-ota.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_29_BWR-ota.bin
|
||||
# cp Newton_M3_29_BWR-full-flash.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_29_BWR-full-flash.bin
|
||||
# cp Newton_M3_75_BWR-ota.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_75_BWR-ota.bin
|
||||
# cp Newton_M3_75_BWR-full-flash.bin /home/runner/work/OpenEPaperLink/OpenEPaperLink/binaries/Newton_M3_75_BWR-full-flash.bin
|
||||
|
||||
- name: Install esptool
|
||||
run: pip install esptool
|
||||
@@ -199,14 +199,14 @@ jobs:
|
||||
file_glob: true
|
||||
overwrite: true
|
||||
|
||||
- name: Add tag bins to release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: binaries/*
|
||||
tag: ${{ github.ref }}
|
||||
file_glob: true
|
||||
overwrite: true
|
||||
# - name: Add tag bins to release
|
||||
# uses: svenstaro/upload-release-action@v2
|
||||
# with:
|
||||
# repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# file: binaries/*
|
||||
# tag: ${{ github.ref }}
|
||||
# file_glob: true
|
||||
# overwrite: true
|
||||
|
||||
# this is down here intentionally to be able to modify the binary folder before adding it to the Tag_Flasher later (ota binaries can be removed)
|
||||
|
||||
|
||||
BIN
binaries/Tag/SOLUM_M2_BWR_75-tag-26-0004-full.bin
Normal file
BIN
binaries/Tag/SOLUM_M2_BWR_75-tag-26-0004-full.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M2_BWR_75-tag-26-0004-ota.bin
Normal file
BIN
binaries/Tag/SOLUM_M2_BWR_75-tag-26-0004-ota.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_22_BWR-tag-31-0016-full.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_22_BWR-tag-31-0016-full.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_22_BWR-tag-31-0016-ota.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_22_BWR-tag-31-0016-ota.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_29_BWR-tag-33-0016-full.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_29_BWR-tag-33-0016-full.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_29_BWR-tag-33-0016-ota.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_29_BWR-tag-33-0016-ota.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_43_BWR-tag-34-0016-full.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_43_BWR-tag-34-0016-full.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_43_BWR-tag-34-0016-ota.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_43_BWR-tag-34-0016-ota.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_60_BWR-tag-35-0016-full.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_60_BWR-tag-35-0016-full.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_60_BWR-tag-35-0016-ota.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_60_BWR-tag-35-0016-ota.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_75_BWR-tag-36-0016-full.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_75_BWR-tag-36-0016-full.bin
Normal file
Binary file not shown.
BIN
binaries/Tag/SOLUM_M3_75_BWR-tag-36-0016-ota.bin
Normal file
BIN
binaries/Tag/SOLUM_M3_75_BWR-tag-36-0016-ota.bin
Normal file
Binary file not shown.
Binary file not shown.
@@ -52,7 +52,7 @@ dt_string = now.strftime("%d/%m/%Y %H:%M:%S")
|
||||
tag = sys.argv[1]
|
||||
|
||||
binaries = generate_file_hashes2(rp + "/espbinaries",tag)
|
||||
tagota = generate_file_hashes2(rp + "/binaries",tag)
|
||||
#tagota = generate_file_hashes2(rp + "/binaries",tag)
|
||||
files1 = generate_file_hashes(rp + "/ESP32_AP-Flasher/data/www","/www/",tag)
|
||||
files1.extend(generate_file_hashes(rp + "/ESP32_AP-Flasher/data","/",tag))
|
||||
files1.extend(generate_file_hashes(rp + "/ESP32_AP-Flasher/data/fonts","/fonts/",tag))
|
||||
@@ -65,7 +65,7 @@ jsonarray = {
|
||||
"builddate": dt_string,
|
||||
"binaries": binaries,
|
||||
"files": files1,
|
||||
"tagota": tagota,
|
||||
# "tagota": tagota,
|
||||
}
|
||||
|
||||
with open("jsonfiles/binaries.json", "w") as json_file:
|
||||
@@ -74,8 +74,8 @@ with open("jsonfiles/binaries.json", "w") as json_file:
|
||||
with open("jsonfiles/files.json", "w") as json_file:
|
||||
json.dump(jsonarray, json_file, indent=4)
|
||||
|
||||
with open("jsonfiles/tagota.json", "w") as json_file:
|
||||
json.dump(tagota, json_file, indent=4)
|
||||
#with open("jsonfiles/tagota.json", "w") as json_file:
|
||||
# json.dump(tagota, json_file, indent=4)
|
||||
|
||||
with open("jsonfiles/filesystem.json", "w") as json_file:
|
||||
json.dump(files1, json_file, indent=4)
|
||||
|
||||
Reference in New Issue
Block a user