Skip to content

Commit

Permalink
Fix naming schema
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Jan 2, 2025
1 parent d73f3bc commit be26f8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ Subscribe to the calendar by adding this iCal link to your Google or Apple calen

### Releases

The Polkadot SDK has a `stableYYMMDD` release every 3 months. Each stable release is supported for one year through a monthly patching schedule. The releases are not *exactly* 3 months apart, but we try to keep it close. The exact dates are in the calendar.
The Polkadot SDK has a `stableYYMM` release every 3 months. Each stable release is supported for one year through a monthly patching schedule. The releases are not *exactly* 3 months apart, but we try to keep it close. The exact dates are in the calendar.
Stable releases undergo a 1.5 month QA period before being published. This explains the difference between the `cutoff` and `published` dates.

### Patches

The patching schedule of each stable release is assigned a week of the month. This works well, since there can be at most four stable releases maintained at once. For example: release `stable2407` is always patched in the first week of a month. This means that on the first Monday of each month, a new patch is cut off, and on the first Thursday after that Monday, it is published.
The patching schedule of each stable release is assigned a week of the month. This works well, since there can be at most four stable releases maintained at once. For example: release `stable2407-1` is always patched in the first week of a month. This means that on the first Monday of each month, a new patch is cut off, and on the first Thursday after that Monday, it is published.

Patches have the tag format `stableYYMM-NN` where `NN` ranges from 1 to 99.

![Monthly Patching](./.assets/monthly-patching.png)

Expand All @@ -77,7 +79,6 @@ The two main goals of this repo are to improve:

## Maintenance


### Release Planning
(how to add a new release to the json)

Expand Down
2 changes: 1 addition & 1 deletion scripts/update-badges.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def update_next():
publish_info = next_release['publish']
date = format_date(publish_info)

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

next_url = f"https://img.shields.io/badge/Next%20Release%20%28{stable}%29-{date}-orange"
Expand Down

0 comments on commit be26f8d

Please sign in to comment.