diff --git a/badges/polkadot-sdk-next.svg b/badges/polkadot-sdk-next.svg
index bf59a26..780a564 100644
--- a/badges/polkadot-sdk-next.svg
+++ b/badges/polkadot-sdk-next.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/scripts/update-badges.py b/scripts/update-badges.py
index a579bc9..876efa4 100644
--- a/scripts/update-badges.py
+++ b/scripts/update-badges.py
@@ -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)