Compare commits

...

3 Commits

Author SHA1 Message Date
4477537cec docs: update changelog for version 1.2.91
All checks were successful
Release Workflow / route (push) Successful in 7s
Release Workflow / verify-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 2m57s
2025-02-20 20:40:20 +01:00
44ba7df34f docs: update webpages for version v1.2.91 2025-02-20 20:40:20 +01:00
54744a06dd fix: add file existence checks before uploading binaries in release workflows 2025-02-20 20:40:14 +01:00
11 changed files with 50 additions and 20 deletions

View File

@ -107,7 +107,10 @@ jobs:
# Upload binaries
cd .pio/build/esp32dev
for file in filaman_ota.bin filaman_spiffs.bin filaman_full.bin; do
# Check if files exist before uploading
for file in filaman_spiffs.bin filaman_full.bin; do
if [ -f "$file" ]; then
echo "Uploading $file..."
curl -k -s \
-X POST \
@ -115,6 +118,9 @@ jobs:
-H "Content-Type: application/octet-stream" \
--data-binary "@$file" \
"${API_URL}/repos/${REPO}/releases/${RELEASE_ID}/assets?name=$file"
else
echo "Warning: $file not found"
fi
done
else
echo "Failed to create release. Response:"

View File

@ -87,7 +87,23 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
# Check which files exist and create a list for upload
cd .pio/build/esp32dev
FILES_TO_UPLOAD=""
for file in filaman_spiffs.bin filaman_full.bin; do
if [ -f "$file" ]; then
FILES_TO_UPLOAD="$FILES_TO_UPLOAD .pio/build/esp32dev/$file"
else
echo "Warning: $file not found"
fi
done
# Create release with available files
if [ -n "$FILES_TO_UPLOAD" ]; then
gh release create "${{ github.ref_name }}" \
--title "Release ${{ steps.get_version.outputs.VERSION }}" \
--notes "${{ steps.changelog.outputs.CHANGES }}" \
.pio/build/esp32dev/filaman_full.bin
$FILES_TO_UPLOAD
else
echo "Error: No files found to upload"
exit 1

View File

@ -1,5 +1,13 @@
# Changelog
## [1.2.91] - 2025-02-20
### Added
- add file existence checks before uploading binaries in release workflows
### Changed
- update webpages for version v1.2.91
## [1.2.90] - 2025-02-20
### Changed
- update webpages for version v1.2.90

View File

@ -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.90</span></h1>
<h1>FilaMan<span class="version">v1.2.91</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -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.90</span></h1>
<h1>FilaMan<span class="version">v1.2.91</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -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.90</span></h1>
<h1>FilaMan<span class="version">v1.2.91</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -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.90</span></h1>
<h1>FilaMan<span class="version">v1.2.91</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -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.90</span></h1>
<h1>FilaMan<span class="version">v1.2.91</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -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.90</span></h1>
<h1>FilaMan<span class="version">v1.2.91</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -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.90</span></h1>
<h1>FilaMan<span class="version">v1.2.91</span></h1>
<h4>Filament Management Tool</h4>
</div>
</div>

View File

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html
[common]
version = "1.2.90"
version = "1.2.91"
[env:esp32dev]
platform = espressif32