Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
e0c9d90892 | |||
e5f5d1961b | |||
31a960fb9e | |||
3c2e75b77a | |||
367143c456 | |||
fbde4b764f | |||
e57f4216d4 |
4
.github/workflows/gitea-release.yml
vendored
4
.github/workflows/gitea-release.yml
vendored
@ -85,5 +85,5 @@ jobs:
|
||||
done
|
||||
|
||||
# Create release using git command
|
||||
git tag -a "v${VERSION}" -m "Release ${VERSION}"
|
||||
git push origin "v${VERSION}"
|
||||
#git tag -a "v${VERSION}" -m "Release ${VERSION}"
|
||||
#git push origin "v${VERSION}"
|
21
CHANGELOG.md
21
CHANGELOG.md
@ -1,5 +1,26 @@
|
||||
# Changelog
|
||||
|
||||
## [1.3.18] - 2025-02-21
|
||||
### Changed
|
||||
- ACHTUNG: Installiere einmal das filaman_full.bin danach kannst du über die upgrade Files aktualisieren und deine Settings bleiben auch erhalten.
|
||||
- ATTENTION: Install the filaman_full.bin once, then you can update via the upgrade files and your settings will also be retained.
|
||||
|
||||
|
||||
|
||||
## [1.3.18] - 2025-02-21
|
||||
### Added
|
||||
- add note about filaman_full.bin installation in changelog
|
||||
|
||||
### Changed
|
||||
- update webpages for version v1.3.18
|
||||
- update changelog for version 1.3.18 and enhance update script for existing entries
|
||||
|
||||
## [1.3.17] - 2025-02-21
|
||||
### Changed
|
||||
- update webpages for version v1.3.17
|
||||
- ci: comment out git tag and push commands in gitea-release workflow
|
||||
|
||||
|
||||
## [1.3.16] - 2025-02-21
|
||||
### Changed
|
||||
- update webpages for version v1.3.16
|
||||
|
@ -9,7 +9,7 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[common]
|
||||
version = "1.3.16"
|
||||
version = "1.3.18"
|
||||
|
||||
#test
|
||||
|
||||
|
@ -122,7 +122,29 @@ def update_changelog():
|
||||
f.write(updated_content)
|
||||
push_changes(version)
|
||||
else:
|
||||
print(f"Version {version} already exists in changelog")
|
||||
# Version existiert bereits, füge neue Einträge unter der existierenden Version ein
|
||||
version_pattern = f"## \\[{version}\\] - \\d{{4}}-\\d{{2}}-\\d{{2}}"
|
||||
next_version_pattern = "## \\[.*?\\] - \\d{4}-\\d{2}-\\d{2}"
|
||||
|
||||
# Finde den Start der aktuellen Version
|
||||
version_match = re.search(version_pattern, content)
|
||||
if version_match:
|
||||
version_start = version_match.end()
|
||||
# Suche nach der nächsten Version
|
||||
next_version_match = re.search(next_version_pattern, content[version_start:])
|
||||
|
||||
if next_version_match:
|
||||
# Füge zwischen aktueller und nächster Version ein
|
||||
insert_pos = version_start + next_version_match.start()
|
||||
updated_content = content[:insert_pos] + "\n" + changelog_entry + content[insert_pos:]
|
||||
else:
|
||||
# Füge am Ende des Abschnitts ein
|
||||
updated_content = content[:version_start] + "\n" + changelog_entry + content[version_start:]
|
||||
|
||||
with open(changelog_path, 'w') as f:
|
||||
f.write(updated_content)
|
||||
push_changes(version)
|
||||
print(f"Added new entries to existing version {version}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
update_changelog()
|
Reference in New Issue
Block a user