mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
ecdd1624f3
# Objective - Document how to release a RC ## Solution - Also allow CI to trigger on release branches
3.4 KiB
3.4 KiB
Release Checklist
Minor Version
Minor Pre-release
- Check regressions tag.
- Check appropriate milestone, and close it.
- Check GitHub Projects page for staleness.
- Update change log.
- Create migration guide.
- Write blog post.
- Update book.
- Bump version number for all crates, using the "Release" workflow.
- Change the commit message to be nicer
- Create tag on GitHub.
- Edit Github Release. Add links to the
Release announcement
andMigration Guide
. - Bump
latest
tag to most recent release. - Run this workflow to update screenshots:
- https://github.com/bevyengine/bevy-website/actions/workflows/update-screenshots.yml
- This will block blog post releases (and take ~40 minutes) so do it early.
- Run this workflow to update wasm examples:
Minor Release
- Release on crates.io
bash tools/publish.sh
- Announce on:
- HackerNews
- Reddit: /r/bevy, /r/rust, /r/rust_gamedev
- Discord: Bevy, Game Development in Rust, Rust Programming Language Community
- This Month in Rust Game Development newsletter
- This Week in Rust newsletter
Minor Post-release
- Bump version number for all crates to next versions, as
0.X-dev
, using the "Post-release version bump" workflow, to ensure properly displayed version for Dev Docs. - Update Bevy version used for Bevy book code validation to latest release.
Patch
Patch Pre-release
- Check appropriate milestone.
- Close the milestone, open the next one if anything remains and transfer them.
- Bump version number for all crates, using the command from the "Release" workflow locally, with
patch
for the new version. At the time of writing this:cargo release patch --workspace --no-publish --execute --no-tag --no-confirm --no-push --dependent-version upgrade --exclude ci --exclude errors --exclude bevy_mobile_example --exclude build-wasm-example
- Change the commit message to be nicer
- Create tag on GitHub.
- Edit Github Release. Add link to the comparison between this patch and the previous version.
- Bump
latest
tag to most recent release. - Run this workflow to update screenshots:
- Run this workflow to update wasm examples:
Patch Release
- Release on crates.io
bash tools/publish.sh
- Announce on:
- Discord: Bevy
Patch Post-Release
Release Candidate
RC Pre-Release
- Check appropriate milestone.
- Create a branch for the release.
- Bump version number for all crates, using the command from the "Release" workflow locally, with
rc
for the new version. At the time of writing this:cargo release rc --workspace --no-publish --execute --no-tag --no-confirm --no-push --dependent-version upgrade --exclude ci --exclude errors --exclude bevy_mobile_example --exclude build-wasm-example
- Change the commit message to be nicer
- Create tag on GitHub.
- Edit Github Release. Add link to the comparison between this rc and the previous version.
RC Release
- Release on crates.io
bash tools/publish.sh
- Announce on:
- Discord: Bevy, #dev-announcements