Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
2af23e8084 | |||
cd204fdaa8 | |||
d04ad42b5b | |||
8d80a8fb5a |
@ -71,7 +71,8 @@ jobs:
|
|||||||
- name: Read CHANGELOG.md
|
- name: Read CHANGELOG.md
|
||||||
id: changelog
|
id: changelog
|
||||||
run: |
|
run: |
|
||||||
VERSION=${{ inputs.gitea_ref_name }}
|
# Remove 'v' prefix from version if present
|
||||||
|
VERSION=$(echo "${{ inputs.gitea_ref_name }}" | sed 's/^v//')
|
||||||
CHANGELOG=$(awk "/## \\[$VERSION\\]/{p=1;print;next} /## \\[/ {p=0} p" CHANGELOG.md)
|
CHANGELOG=$(awk "/## \\[$VERSION\\]/{p=1;print;next} /## \\[/ {p=0} p" CHANGELOG.md)
|
||||||
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
||||||
echo "$CHANGELOG" >> $GITHUB_OUTPUT
|
echo "$CHANGELOG" >> $GITHUB_OUTPUT
|
||||||
@ -81,6 +82,7 @@ jobs:
|
|||||||
if [ -z "$CHANGELOG" ]; then
|
if [ -z "$CHANGELOG" ]; then
|
||||||
echo "No changelog found for version $VERSION"
|
echo "No changelog found for version $VERSION"
|
||||||
exit 1
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
env:
|
env:
|
||||||
|
10
CHANGELOG.md
10
CHANGELOG.md
@ -1,5 +1,15 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.2.55] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update version to 1.2.55 and adjust Gitea release workflow to remove 'v' prefix from version
|
||||||
|
|
||||||
|
|
||||||
|
## [1.2.54] - 2025-02-19
|
||||||
|
### Added
|
||||||
|
- update version to 1.2.54 and add check for missing changelog in Gitea release workflow
|
||||||
|
|
||||||
|
|
||||||
## [1.2.53] - 2025-02-19
|
## [1.2.53] - 2025-02-19
|
||||||
### Added
|
### Added
|
||||||
- update version to 1.2.53 and enhance Gitea release workflow to handle missing changelog
|
- update version to 1.2.53 and enhance Gitea release workflow to handle missing changelog
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.2.53"
|
version = "1.2.55"
|
||||||
|
|
||||||
[env:esp32dev]
|
[env:esp32dev]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
|
Reference in New Issue
Block a user