Compare commits
No commits in common. "8716b4ad73efff23e25a93858f0ed7bbbb7a1c85" and "b696a79f4bc1a9782f3062057e0452b09f93030c" have entirely different histories.
8716b4ad73
...
b696a79f4b
@ -1,10 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## [1.1.0] - 2025-02-16
|
||||
### Changed
|
||||
- clean up changelog and update script execution in platformio.ini
|
||||
- update changelog for version 1.1.0
|
||||
|
||||
### Fixed
|
||||
- correct version number in nav bar
|
||||
|
||||
|
@ -53,4 +53,4 @@ extra_scripts =
|
||||
pre:scripts/pre_spiffs.py
|
||||
pre:scripts/gzip_files.py
|
||||
pre:scripts/extra_script.py
|
||||
#post:scripts/update_changelog.py
|
||||
pre:scripts/update_changelog.py
|
||||
|
@ -78,15 +78,19 @@ 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__))
|
||||
|
Loading…
x
Reference in New Issue
Block a user