Skip to content

Commit

Permalink
Fix badge date
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Sep 9, 2024
1 parent 4aad5b3 commit 3ef1265
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion badges/polkadot-sdk-next.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions scripts/update-badges.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def update_next():
next_release = find_next_unreleased_release(sdk_releases)

if next_release:
cutoff_info = next_release['cutoff']
date = format_date(cutoff_info)
publish_info = next_release['publish']
date = format_date(publish_info)

# extract the 'stableYYMMDD' part
stable = re.search(r'(stable\d+)', next_release['name']).group(1)
Expand Down

0 comments on commit 3ef1265

Please sign in to comment.