Compare commits

..

18 Commits

Author SHA1 Message Date
68a10dfeb2 docs: update changelog and header for version v1.3.72
Some checks failed
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Failing after 2m46s
2025-02-23 11:17:17 +01:00
632b7a089e docs: update webpages for version v1.3.72 2025-02-23 11:17:17 +01:00
c0e3650bf4 fix: update FTP options for Gitea release workflow 2025-02-23 11:17:13 +01:00
8e3dfc93f7 docs: update changelog and header for version v1.3.71
Some checks failed
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Failing after 2m37s
2025-02-23 11:09:57 +01:00
5016285dce docs: update webpages for version v1.3.71 2025-02-23 11:09:57 +01:00
9b1a232fde feat: add FTP upload step for firmware in Gitea release workflow 2025-02-23 11:09:49 +01:00
37e79b7a49 docs: update changelog and header for version v1.3.70
All checks were successful
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 2m41s
2025-02-23 09:58:18 +01:00
6bd23f31c1 docs: update webpages for version v1.3.70 2025-02-23 09:58:17 +01:00
3099e9ded9 docs: update changelog and header for version v1.3.69
All checks were successful
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 2m37s
2025-02-23 09:54:00 +01:00
4952ad3150 docs: update webpages for version v1.3.69 2025-02-23 09:54:00 +01:00
2055da9962 fix: update release note generation to use the second latest tag 2025-02-23 09:53:55 +01:00
459a31cad3 docs: update changelog and header for version v1.3.68
All checks were successful
Release Workflow / detect-provider (push) Successful in 2s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 3m3s
2025-02-23 09:48:22 +01:00
4b1930209b docs: update webpages for version v1.3.68 2025-02-23 09:48:21 +01:00
7dde07b5ab fix: update release note generation to include commit hash and author 2025-02-23 09:48:15 +01:00
33a5406248 fix: remove commented test line from platformio.ini 2025-02-23 09:47:18 +01:00
b016a31ff0 docs: update changelog and header for version v1.3.67
All checks were successful
Release Workflow / detect-provider (push) Successful in 3s
Release Workflow / github-release (push) Has been skipped
Release Workflow / gitea-release (push) Successful in 2m37s
2025-02-23 09:18:57 +01:00
19bc4927e4 docs: update webpages for version v1.3.67 2025-02-23 09:18:57 +01:00
cd55cb86ba ci: update release note generation to use the latest tag 2025-02-23 09:18:52 +01:00
4 changed files with 88 additions and 34 deletions

View File

@ -6,6 +6,9 @@ on:
GITEA_TOKEN: GITEA_TOKEN:
description: 'Token für Gitea API-Zugriff' description: 'Token für Gitea API-Zugriff'
required: true required: true
FTP_PASSWORD:
description: 'FTP Password for firmware upload'
required: true
jobs: jobs:
create-release: create-release:
@ -71,45 +74,43 @@ jobs:
- name: Generate Release Notes - name: Generate Release Notes
id: release_notes id: release_notes
run: | run: |
# Get all tags sorted by version # Get the latest tag
TAGS=($(git tag -l 'v*' --sort=-v:refname)) LATEST_TAG=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | sed -n '2p')
CURRENT_TAG="${TAGS[0]}"
if [ ${#TAGS[@]} -gt 1 ]; then if [ -n "$LATEST_TAG" ]; then
PREVIOUS_TAG="${TAGS[1]}"
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
echo "Changes since $PREVIOUS_TAG:" >> $GITHUB_OUTPUT echo "Changes since ${LATEST_TAG}:" >> $GITHUB_OUTPUT
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
# Get commits between previous and current tag # Get all commits since last release with commit hash and author
echo "### Added" >> $GITHUB_OUTPUT echo "### Added" >> $GITHUB_OUTPUT
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -iE '^(feat|add|new)' | sed 's/^feat: /- /' >> $GITHUB_OUTPUT || true git log ${LATEST_TAG}..HEAD --pretty=format:"%h - %s (%an)" | grep -iE '^[a-f0-9]+ - (feat|add|new)' | sed 's/^[a-f0-9]* - feat: /- /' >> $GITHUB_OUTPUT || true
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
echo "### Fixed" >> $GITHUB_OUTPUT echo "### Fixed" >> $GITHUB_OUTPUT
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -iE '^fix' | sed 's/^fix: /- /' >> $GITHUB_OUTPUT || true git log ${LATEST_TAG}..HEAD --pretty=format:"%h - %s (%an)" | grep -iE '^[a-f0-9]+ - fix' | sed 's/^[a-f0-9]* - fix: /- /' >> $GITHUB_OUTPUT || true
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
echo "### Changed" >> $GITHUB_OUTPUT echo "### Changed" >> $GITHUB_OUTPUT
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true git log ${LATEST_TAG}..HEAD --pretty=format:"%h - %s (%an)" | grep -ivE '^[a-f0-9]+ - (feat|fix|add|new)' | sed 's/^[a-f0-9]* - /- /' >> $GITHUB_OUTPUT || true
echo "EOF" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT
else else
# First release or no previous tag # First release
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
echo "Initial Release" >> $GITHUB_OUTPUT echo "Initial Release" >> $GITHUB_OUTPUT
echo "" >> $GITHUB_OUTPUT
# Add all commits for initial release # Add all commits for initial release
echo "" >> $GITHUB_OUTPUT
echo "### Added" >> $GITHUB_OUTPUT echo "### Added" >> $GITHUB_OUTPUT
git log --pretty=format:%s | grep -iE '^(feat|add|new)' | sed 's/^feat: /- /' >> $GITHUB_OUTPUT || true git log --pretty=format:"%h - %s (%an)" | grep -iE '^[a-f0-9]+ - (feat|add|new)' | sed 's/^[a-f0-9]* - feat: /- /' >> $GITHUB_OUTPUT || true
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
echo "### Fixed" >> $GITHUB_OUTPUT echo "### Fixed" >> $GITHUB_OUTPUT
git log --pretty=format:%s | grep -iE '^fix' | sed 's/^fix: /- /' >> $GITHUB_OUTPUT || true git log --pretty=format:"%h - %s (%an)" | grep -iE '^[a-f0-9]+ - fix' | sed 's/^[a-f0-9]* - fix: /- /' >> $GITHUB_OUTPUT || true
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
echo "### Changed" >> $GITHUB_OUTPUT echo "### Changed" >> $GITHUB_OUTPUT
git log --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true git log --pretty=format:"%h - %s (%an)" | grep -ivE '^[a-f0-9]+ - (feat|fix|add|new)' | sed 's/^[a-f0-9]* - /- /' >> $GITHUB_OUTPUT || true
echo "EOF" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT
fi fi
@ -200,4 +201,17 @@ jobs:
echo "Successfully uploaded $file" echo "Successfully uploaded $file"
fi fi
fi fi
done done
- name: Upload Firmware via FTP
if: success()
uses: sebastianpopp/ftp-action@releases/v2
with:
host: "filaman.app"
port: 21
user: "firmware"
password: ${{ secrets.FTP_PASSWORD }}
forceSsl: true
localDir: ".pio/build/esp32dev"
remoteDir: "/"
options: "set ssl:verify-certificate no; mirror -R --include-glob filaman_full_*.bin --parallel=1"

View File

@ -76,45 +76,43 @@ jobs:
- name: Generate Release Notes - name: Generate Release Notes
id: release_notes id: release_notes
run: | run: |
# Get all tags sorted by version # Get the latest tag
TAGS=($(git tag -l 'v*' --sort=-v:refname)) LATEST_TAG=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | sed -n '2p')
CURRENT_TAG="${TAGS[0]}"
if [ ${#TAGS[@]} -gt 1 ]; then if [ -n "$LATEST_TAG" ]; then
PREVIOUS_TAG="${TAGS[1]}"
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
echo "Changes since $PREVIOUS_TAG:" >> $GITHUB_OUTPUT echo "Changes since ${LATEST_TAG}:" >> $GITHUB_OUTPUT
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
# Get commits between previous and current tag # Get all commits since last release with commit hash and author
echo "### Added" >> $GITHUB_OUTPUT echo "### Added" >> $GITHUB_OUTPUT
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -iE '^(feat|add|new)' | sed 's/^feat: /- /' >> $GITHUB_OUTPUT || true git log ${LATEST_TAG}..HEAD --pretty=format:"%h - %s (%an)" | grep -iE '^[a-f0-9]+ - (feat|add|new)' | sed 's/^[a-f0-9]* - feat: /- /' >> $GITHUB_OUTPUT || true
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
echo "### Fixed" >> $GITHUB_OUTPUT echo "### Fixed" >> $GITHUB_OUTPUT
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -iE '^fix' | sed 's/^fix: /- /' >> $GITHUB_OUTPUT || true git log ${LATEST_TAG}..HEAD --pretty=format:"%h - %s (%an)" | grep -iE '^[a-f0-9]+ - fix' | sed 's/^[a-f0-9]* - fix: /- /' >> $GITHUB_OUTPUT || true
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
echo "### Changed" >> $GITHUB_OUTPUT echo "### Changed" >> $GITHUB_OUTPUT
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true git log ${LATEST_TAG}..HEAD --pretty=format:"%h - %s (%an)" | grep -ivE '^[a-f0-9]+ - (feat|fix|add|new)' | sed 's/^[a-f0-9]* - /- /' >> $GITHUB_OUTPUT || true
echo "EOF" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT
else else
# First release or no previous tag # First release
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
echo "Initial Release" >> $GITHUB_OUTPUT echo "Initial Release" >> $GITHUB_OUTPUT
echo "" >> $GITHUB_OUTPUT
# Add all commits for initial release # Add all commits for initial release
echo "" >> $GITHUB_OUTPUT
echo "### Added" >> $GITHUB_OUTPUT echo "### Added" >> $GITHUB_OUTPUT
git log --pretty=format:%s | grep -iE '^(feat|add|new)' | sed 's/^feat: /- /' >> $GITHUB_OUTPUT || true git log --pretty=format:"%h - %s (%an)" | grep -iE '^[a-f0-9]+ - (feat|add|new)' | sed 's/^[a-f0-9]* - feat: /- /' >> $GITHUB_OUTPUT || true
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
echo "### Fixed" >> $GITHUB_OUTPUT echo "### Fixed" >> $GITHUB_OUTPUT
git log --pretty=format:%s | grep -iE '^fix' | sed 's/^fix: /- /' >> $GITHUB_OUTPUT || true git log --pretty=format:"%h - %s (%an)" | grep -iE '^[a-f0-9]+ - fix' | sed 's/^[a-f0-9]* - fix: /- /' >> $GITHUB_OUTPUT || true
echo "" >> $GITHUB_OUTPUT echo "" >> $GITHUB_OUTPUT
echo "### Changed" >> $GITHUB_OUTPUT echo "### Changed" >> $GITHUB_OUTPUT
git log --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true git log --pretty=format:"%h - %s (%an)" | grep -ivE '^[a-f0-9]+ - (feat|fix|add|new)' | sed 's/^[a-f0-9]* - /- /' >> $GITHUB_OUTPUT || true
echo "EOF" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT
fi fi

View File

@ -1,5 +1,49 @@
# Changelog # Changelog
## [1.3.72] - 2025-02-23
### Changed
- update webpages for version v1.3.72
### Fixed
- update FTP options for Gitea release workflow
## [1.3.71] - 2025-02-23
### Added
- add FTP upload step for firmware in Gitea release workflow
### Changed
- update webpages for version v1.3.71
## [1.3.70] - 2025-02-23
### Changed
- update webpages for version v1.3.70
## [1.3.69] - 2025-02-23
### Changed
- update webpages for version v1.3.69
### Fixed
- update release note generation to use the second latest tag
## [1.3.68] - 2025-02-23
### Changed
- update webpages for version v1.3.68
### Fixed
- update release note generation to include commit hash and author
- remove commented test line from platformio.ini
## [1.3.67] - 2025-02-23
### Changed
- update webpages for version v1.3.67
- ci: update release note generation to use the latest tag
## [1.3.66] - 2025-02-23 ## [1.3.66] - 2025-02-23
### Changed ### Changed
- update webpages for version v1.3.66 - update webpages for version v1.3.66

View File

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