Compare commits

...

2 Commits

Author SHA1 Message Date
67027840f4 docs: update changelog for version 1.2.45
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 3m14s
2025-02-19 14:11:47 +01:00
2755e9c863 feat: update Gitea release workflow to use dynamic upload URL and increment version to 1.2.45 2025-02-19 14:11:44 +01:00
3 changed files with 9 additions and 3 deletions

View File

@ -95,8 +95,9 @@ jobs:
"${API_URL}/repos/${REPO}/releases") "${API_URL}/repos/${REPO}/releases")
RELEASE_ID=$(echo "$RESPONSE" | grep -o '"id":[0-9]*' | cut -d':' -f2 | head -n1) RELEASE_ID=$(echo "$RESPONSE" | grep -o '"id":[0-9]*' | cut -d':' -f2 | head -n1)
UPLOAD_URL=$(echo "$RESPONSE" | grep -o '"upload_url":"[^"]*' | cut -d':' -f2- | tr -d '"')
if [ -n "$RELEASE_ID"; then if [ -n "$RELEASE_ID" ]; then
echo "Release created with ID: $RELEASE_ID" echo "Release created with ID: $RELEASE_ID"
# Upload files # Upload files
@ -107,7 +108,7 @@ jobs:
-H "Authorization: token ${TOKEN}" \ -H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/octet-stream" \ -H "Content-Type: application/octet-stream" \
--data-binary "@.pio/build/esp32dev/$file" \ --data-binary "@.pio/build/esp32dev/$file" \
"${API_URL}/repos/${REPO}/releases/${RELEASE_ID}/assets?name=$file" "${UPLOAD_URL}?name=$file"
done done
else else
echo "Failed to create release. Response:" echo "Failed to create release. Response:"

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## [1.2.45] - 2025-02-19
### Added
- update Gitea release workflow to use dynamic upload URL and increment version to 1.2.45
## [1.2.44] - 2025-02-19 ## [1.2.44] - 2025-02-19
### Added ### Added
- update Gitea release workflow to include additional outputs and increment version to 1.2.44 - update Gitea release workflow to include additional outputs and increment version to 1.2.44

View File

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