Sixth iteration of the Storybook release process (v1, v2, v3, v4, v5), updated to reflect learnings from the 5.0 release.
- We respect semver for all releases to the best of our ability
master
is released on thelatest
tag every week (e.g.4.0.2
)next
is released on thenext
tag every week (e.g.4.1.0-alpha.X
)- Bugfixes and docs changes cherry-picked from
next
tomaster
on every release - All major/minor releases get a blog post (e.g. 3.2)
- Set minor release dates as soon as we have feature clarity and manage to those dates:
- Date should be a Monday so if we slip we don't get pushed into the weekend
- T - 3wk = feature freeze and branch
release/X.y
- T - 2wk = release RC and call for testing
- T - 0 = release but don't announce
- T + 1-3d = announce
Rather than creating a release branch, we do all pre-releases from next
. However after the feature freeze, we restrict merging PRs to next
:
- YES bugfixes
- YES version upgrades that are security updates
- YES documentation
- NO new features / unncessary maintenance
- NO random version upgrades
Stalling PRs for a few weeks adds a little friction to contribution during the release cycle, which is what we were trying to avoid by creating a release branch. However, it will make the release substantially simpler and will encourage us to get through each release faster.