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