Compare commits
4 Commits
ea6f708c6e
...
c342877558
Author | SHA1 | Date | |
---|---|---|---|
c342877558 | |||
f5743cbd7b | |||
8a62597705 | |||
374721d1e5 |
24
.github/workflows/gitea-release.yml
vendored
24
.github/workflows/gitea-release.yml
vendored
@ -12,6 +12,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
@ -69,10 +71,12 @@ jobs:
|
|||||||
- name: Generate Release Notes
|
- name: Generate Release Notes
|
||||||
id: release_notes
|
id: release_notes
|
||||||
run: |
|
run: |
|
||||||
CURRENT_TAG=$(git describe --tags --abbrev=0)
|
# Get all tags sorted by version
|
||||||
PREVIOUS_TAG=$(git describe --tags --abbrev=0 ${CURRENT_TAG}^)
|
TAGS=($(git tag -l 'v*' --sort=-v:refname))
|
||||||
|
CURRENT_TAG="${TAGS[0]}"
|
||||||
|
|
||||||
if [ -n "$PREVIOUS_TAG" ]; then
|
if [ ${#TAGS[@]} -gt 1 ]; 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 $PREVIOUS_TAG:" >> $GITHUB_OUTPUT
|
||||||
echo "" >> $GITHUB_OUTPUT
|
echo "" >> $GITHUB_OUTPUT
|
||||||
@ -90,8 +94,22 @@ jobs:
|
|||||||
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true
|
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
echo "EOF" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
# First release or no previous tag
|
||||||
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
||||||
echo "Initial Release" >> $GITHUB_OUTPUT
|
echo "Initial Release" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
# Add all commits for initial release
|
||||||
|
echo "" >> $GITHUB_OUTPUT
|
||||||
|
echo "### Added" >> $GITHUB_OUTPUT
|
||||||
|
git log --pretty=format:%s | grep -iE '^(feat|add|new)' | sed 's/^feat: /- /' >> $GITHUB_OUTPUT || true
|
||||||
|
echo "" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
echo "### Fixed" >> $GITHUB_OUTPUT
|
||||||
|
git log --pretty=format:%s | grep -iE '^fix' | sed 's/^fix: /- /' >> $GITHUB_OUTPUT || true
|
||||||
|
echo "" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
echo "### Changed" >> $GITHUB_OUTPUT
|
||||||
|
git log --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
echo "EOF" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
22
.github/workflows/github-release.yml
vendored
22
.github/workflows/github-release.yml
vendored
@ -76,10 +76,12 @@ jobs:
|
|||||||
- name: Generate Release Notes
|
- name: Generate Release Notes
|
||||||
id: release_notes
|
id: release_notes
|
||||||
run: |
|
run: |
|
||||||
CURRENT_TAG=$(git describe --tags --abbrev=0)
|
# Get all tags sorted by version
|
||||||
PREVIOUS_TAG=$(git describe --tags --abbrev=0 ${CURRENT_TAG}^)
|
TAGS=($(git tag -l 'v*' --sort=-v:refname))
|
||||||
|
CURRENT_TAG="${TAGS[0]}"
|
||||||
|
|
||||||
if [ -n "$PREVIOUS_TAG" ]; then
|
if [ ${#TAGS[@]} -gt 1 ]; 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 $PREVIOUS_TAG:" >> $GITHUB_OUTPUT
|
||||||
echo "" >> $GITHUB_OUTPUT
|
echo "" >> $GITHUB_OUTPUT
|
||||||
@ -97,8 +99,22 @@ jobs:
|
|||||||
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true
|
git log ${PREVIOUS_TAG}..${CURRENT_TAG} --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
echo "EOF" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
# First release or no previous tag
|
||||||
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
||||||
echo "Initial Release" >> $GITHUB_OUTPUT
|
echo "Initial Release" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
# Add all commits for initial release
|
||||||
|
echo "" >> $GITHUB_OUTPUT
|
||||||
|
echo "### Added" >> $GITHUB_OUTPUT
|
||||||
|
git log --pretty=format:%s | grep -iE '^(feat|add|new)' | sed 's/^feat: /- /' >> $GITHUB_OUTPUT || true
|
||||||
|
echo "" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
echo "### Fixed" >> $GITHUB_OUTPUT
|
||||||
|
git log --pretty=format:%s | grep -iE '^fix' | sed 's/^fix: /- /' >> $GITHUB_OUTPUT || true
|
||||||
|
echo "" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
echo "### Changed" >> $GITHUB_OUTPUT
|
||||||
|
git log --pretty=format:%s | grep -ivE '^(feat|fix|add|new)' | sed 's/^/- /' >> $GITHUB_OUTPUT || true
|
||||||
echo "EOF" >> $GITHUB_OUTPUT
|
echo "EOF" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.3.63] - 2025-02-22
|
||||||
|
### Added
|
||||||
|
- update update-form background and add glass border effect
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- update webpages for version v1.3.63
|
||||||
|
- update release note generation for initial release handling
|
||||||
|
|
||||||
|
|
||||||
## [1.3.62] - 2025-02-22
|
## [1.3.62] - 2025-02-22
|
||||||
### Changed
|
### Changed
|
||||||
- update webpages for version v1.3.62
|
- update webpages for version v1.3.62
|
||||||
|
@ -1050,10 +1050,11 @@ input[type="submit"]:disabled,
|
|||||||
border: 1px solid #a5d6a7;
|
border: 1px solid #a5d6a7;
|
||||||
}
|
}
|
||||||
.update-form {
|
.update-form {
|
||||||
background: var(--background-green);
|
background: var(--primary-color);
|
||||||
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
||||||
|
border: var(--glass-border);
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 400px;
|
width: 400px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -1064,7 +1065,7 @@ input[type="submit"]:disabled,
|
|||||||
padding: 8px;
|
padding: 8px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: white;
|
background-color: #4CAF50;
|
||||||
}
|
}
|
||||||
.update-form input[type="submit"] {
|
.update-form input[type="submit"] {
|
||||||
background-color: #4CAF50;
|
background-color: #4CAF50;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.3.62"
|
version = "1.3.63"
|
||||||
|
|
||||||
#test
|
#test
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user