diff --git a/CHANGELOG.md b/CHANGELOG.md index d218c46..0d2e1f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,5 @@ # Changelog -## [1.1.0] - 2025-02-16 -### Fixed -- correct version number in nav bar - - ## [1.0.5] - 2025-02-16 ### Added - update version to 1.0.5 and enhance changelog update process with automatic git push diff --git a/platformio.ini b/platformio.ini index deee2bd..72184ab 100644 --- a/platformio.ini +++ b/platformio.ini @@ -53,4 +53,4 @@ extra_scripts = pre:scripts/pre_spiffs.py pre:scripts/gzip_files.py pre:scripts/extra_script.py - pre:scripts/update_changelog.py + #post:scripts/update_changelog.py diff --git a/scripts/update_changelog.py b/scripts/update_changelog.py index b803ef9..f896f72 100644 --- a/scripts/update_changelog.py +++ b/scripts/update_changelog.py @@ -78,19 +78,15 @@ def push_changes(version): subprocess.run(['git', 'push', 'origin'], check=True) print("Successfully pushed to origin") - # Ask for upstream push - response = input("Do you want to push to GitHub (upstream)? (y/n): ").lower() - if response == 'y': - subprocess.run(['git', 'push', 'upstream'], check=True) - print("Successfully pushed to upstream") - except subprocess.CalledProcessError as e: print(f"Error during git operations: {e}") return False return True def update_changelog(): + print("Starting changelog update...") # Add this line version = get_version() + print(f"Current version: {version}") # Add this line today = datetime.now().strftime('%Y-%m-%d') script_dir = os.path.dirname(os.path.abspath(__file__))