Compare commits
3 Commits
b5330af351
...
e983ba6e44
Author | SHA1 | Date | |
---|---|---|---|
e983ba6e44 | |||
37171d6eca | |||
ebb08a7a66 |
@ -69,8 +69,6 @@ jobs:
|
||||
|
||||
# Verify magic bytes
|
||||
echo "Checking magic bytes:"
|
||||
echo "OTA binary first bytes:"
|
||||
xxd -l 16 filaman_ota.bin
|
||||
echo "Full binary first bytes:"
|
||||
xxd -l 16 filaman_full.bin
|
||||
|
||||
@ -105,7 +103,7 @@ jobs:
|
||||
|
||||
# Upload binaries
|
||||
cd .pio/build/esp32dev_ota
|
||||
for file in filaman_full.bin filaman_ota.bin filaman.bin filaman_spiffs.bin; do
|
||||
for file in filaman_full.bin; do
|
||||
echo "Uploading $file..."
|
||||
curl -k -s \
|
||||
-X POST \
|
||||
|
@ -58,8 +58,6 @@ jobs:
|
||||
|
||||
# Verify magic bytes
|
||||
echo "Checking magic bytes:"
|
||||
echo "OTA binary first bytes:"
|
||||
xxd -l 16 filaman_ota.bin
|
||||
echo "Full binary first bytes:"
|
||||
xxd -l 16 filaman_full.bin
|
||||
|
||||
@ -88,7 +86,4 @@ jobs:
|
||||
gh release create "${{ github.ref_name }}" \
|
||||
--title "Release ${{ steps.get_version.outputs.VERSION }}" \
|
||||
--notes "${{ steps.changelog.outputs.CHANGES }}" \
|
||||
.pio/build/esp32dev_ota/filaman_full.bin \
|
||||
.pio/build/esp32dev_ota/filaman_ota.bin \
|
||||
.pio/build/esp32dev_ota/filaman.bin \
|
||||
.pio/build/esp32dev_ota/filaman_spiffs.bin
|
||||
.pio/build/esp32dev_ota/filaman_full.bin
|
@ -1,5 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## [1.2.85] - 2025-02-20
|
||||
### Added
|
||||
- ci: streamline release workflows by removing unnecessary binary uploads and adding SPIFFS formatting
|
||||
|
||||
### Changed
|
||||
- update webpages for version v1.2.85
|
||||
|
||||
|
||||
## [1.2.84] - 2025-02-20
|
||||
### Changed
|
||||
- update webpages for version v1.2.84
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div style="display: flex; align-items: center; gap: 2rem;">
|
||||
<img src="/logo.png" alt="FilaMan Logo" class="logo">
|
||||
<div class="logo-text">
|
||||
<h1>FilaMan<span class="version">v1.2.84</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.85</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div style="display: flex; align-items: center; gap: 2rem;">
|
||||
<img src="/logo.png" alt="FilaMan Logo" class="logo">
|
||||
<div class="logo-text">
|
||||
<h1>FilaMan<span class="version">v1.2.84</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.85</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div style="display: flex; align-items: center; gap: 2rem;">
|
||||
<img src="/logo.png" alt="FilaMan Logo" class="logo">
|
||||
<div class="logo-text">
|
||||
<h1>FilaMan<span class="version">v1.2.84</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.85</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div style="display: flex; align-items: center; gap: 2rem;">
|
||||
<img src="/logo.png" alt="FilaMan Logo" class="logo">
|
||||
<div class="logo-text">
|
||||
<h1>FilaMan<span class="version">v1.2.84</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.85</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div style="display: flex; align-items: center; gap: 2rem;">
|
||||
<img src="/logo.png" alt="FilaMan Logo" class="logo">
|
||||
<div class="logo-text">
|
||||
<h1>FilaMan<span class="version">v1.2.84</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.85</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div style="display: flex; align-items: center; gap: 2rem;">
|
||||
<img src="/logo.png" alt="FilaMan Logo" class="logo">
|
||||
<div class="logo-text">
|
||||
<h1>FilaMan<span class="version">v1.2.84</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.85</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div style="display: flex; align-items: center; gap: 2rem;">
|
||||
<img src="/logo.png" alt="FilaMan Logo" class="logo">
|
||||
<div class="logo-text">
|
||||
<h1>FilaMan<span class="version">v1.2.84</span></h1>
|
||||
<h1>FilaMan<span class="version">v1.2.85</span></h1>
|
||||
<h4>Filament Management Tool</h4>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -9,7 +9,7 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[common]
|
||||
version = "1.2.84"
|
||||
version = "1.2.85"
|
||||
|
||||
[env:esp32dev]
|
||||
platform = espressif32
|
||||
|
@ -4,4 +4,18 @@ Import("env")
|
||||
exec(open("./scripts/pre_build.py").read())
|
||||
|
||||
# Bind to SPIFFS build
|
||||
env.AddPreAction("buildfs", replace_version)
|
||||
env.AddPreAction("buildfs", replace_version)
|
||||
|
||||
import os
|
||||
import shutil
|
||||
from SCons.Script import DefaultEnvironment
|
||||
|
||||
env = DefaultEnvironment()
|
||||
|
||||
# Format SPIFFS partition before uploading new files
|
||||
spiffs_dir = os.path.join(env.subst("$BUILD_DIR"), "spiffs")
|
||||
if os.path.exists(spiffs_dir):
|
||||
shutil.rmtree(spiffs_dir)
|
||||
os.makedirs(spiffs_dir)
|
||||
|
||||
print("SPIFFS partition formatted.")
|
Loading…
x
Reference in New Issue
Block a user