Skip to content

Commit

Permalink
Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Oct 4, 2024
1 parent a1b9f34 commit bda4b9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/update_board_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def edit_changelog(version):
os.makedirs(os.path.join(file_dir, f'v{version}', 'new_hw'), exist_ok=True)
os.rename(os.path.join(file_dir, f'{current_date}.md'), os.path.join(file_dir, f'v{version}', f'new_hw/{current_date}.md'))

if os.path.isfile(os.path.join(file_dir, 'new_hw.md')):
os.remove(os.path.join(file_dir, 'new_hw.md'))

write_output_to_file(os.path.join(os.getcwd(), 'sdk_tag.txt'), version)
else:
# Extract and sort versions, removing the 'v' prefix
Expand Down

0 comments on commit bda4b9b

Please sign in to comment.