Repository navigation
Description
Release process
The release process follows the usual PR-and-review flow, allowing an external reviewer to have a final check before publishing.
In order to ease downstream packaging of Rust binaries, an archive of vendored dependencies is also provided (only relevant for offline builds).
crates.io publishing uses trusted publishing (OIDC, no API tokens) and triggers automatically on tag push (.github/workflows/crates-release.yml).
Requirements
This guide requires:
- A web browser (and network connectivity)
git- GPG setup and personal key for signing
- git-evtag
cargo(suggested: latest stable toolchain from rustup)cargo-release(suggested:cargo install -f cargo-release)cargo vendor-filterer(suggested:cargo install -f cargo-vendor-filterer)- Write access to this GitHub project
Release checklist
-
Prepare local branch+commit
-
git checkout -b release - Bump the version number in
Cargo.tomlandbootupd.spec. Usually you just want to bump the patch. - Run
cargo buildto ensureCargo.lockwould be updated - Commit changes
git commit -a -m 'Release x.y.z'; include some useful brief changelog.
-
-
Prepare the release
- Run
./ci/prepare-release.sh
- Run
-
Validate that
originpoints to the canonical upstream repository and not your fork:
git remote show originshould not begithub.com/$yourusername/$projectbut should
be under the organization ownership. The remoteyournameshould be for your fork. -
open and merge a PR for this release:
-
git push --set-upstream origin release - open a web browser and create a PR for the branch above
- make sure the resulting PR contains the commit
- in the PR body, write a short changelog with relevant changes since last release
- get the PR reviewed, approved and merged
-
-
publish the artifacts (tag and crate):
-
git fetch origin && git checkout ${RELEASE_COMMIT} - verify
Cargo.tomlhas the expected version -
git-evtag sign v${RELEASE_VER} -
git push --tags origin v${RELEASE_VER} - Automated:
crates-release.ymlpublishes to crates.io via trusted publishing
-
-
publish this release on GitHub:
- find the new tag in the GitHub tag list, click the triple dots menu, and create a release for it
- write a short changelog with
git shortlog $last_tag..(i.e. re-use the PR content). See previous releases for format, for examplev0.2.25 - upload
target/${PROJECT}-${RELEASE_VER}-vendor.tar.zstd - record digests of local artifacts:
sha256sum target/package/${PROJECT}-${RELEASE_VER}.cratesha256sum target/${PROJECT}-${RELEASE_VER}-vendor.tar.zstd
- publish release
-
clean up:
-
git push origin :release -
cargo clean -
git checkout main
-
-
Fedora packaging:
- update the
rust-bootupdspec file in Fedora- bump the
Version - remove any patches obsoleted by the new release
- bump the
- run
spectool -g -S rust-bootupd.spec - run
kinit [email protected] - run
fedpkg new-sources <crate-name> <vendor-tarball-name> - PR the changes in Fedora
- once the PR merges to rawhide, merge rawhide into the other relevant branches (e.g. f35) then push those, for example:
git checkout rawhide git pull --ff-only git checkout f35 git merge --ff-only rawhide git push origin f35
- on each of those branches run
fedpkg build - once the builds have finished, submit them to bodhi, filling in:
rust-bootupdforPackages- selecting the build(s) that just completed, except for the rawhide one (which gets submitted automatically)
- writing brief release notes like "New upstream release; see release notes at
link to GitHub release" - leave
Update nameblank Type,SeverityandSuggestioncan be left asunspecifiedunless it is a security release. In that case selectsecuritywith the appropriate severity.Stable karmaandUnstablekarma can be set to2and-1, respectively.
- submit a fast-track for FCOS testing-devel
- submit a fast-track for FCOS next-devel if it is open
- update the
-
RHCOS packaging:
- update the
rust-bootupdspec file- bump the
Version - switch the
Releaseback to1%{?dist} - remove any patches obsoleted by the new release
- update changelog
- bump the
- run
spectool -g -S rust-bootupd.spec - run
kinit [email protected] - run
rhpkg new-sources <crate-name> <vendor-tarball-name> - PR the changes
- get the PR reviewed and merge it
- update your local repo and run
rhpkg build
- update the
CentOS Stream 9 packaging:
- to be written
Activity
Rolv-Apneseth commentedon Nov 13, 2026
Release: https://github.com/coreos/bootupd/releases/tag/v0.4.0
Rolv-Apneseth commentedon Nov 13, 2026
Fedora Rawhide PR: https://src.fedoraproject.org/rpms/rust-bootupd/pull-request/30
Rolv-Apneseth commentedon Nov 13, 2026
Forgot to link the Jira: https://redhat.atlassian.net/browse/COS-5287
Rolv-Apneseth commentedon Nov 26, 2026
Bodhi links:
Fast-track for F45: coreos/fedora-coreos-config#4536
Rolv-Apneseth commentedon Dec 2, 2026
RHEL/CentOS releases will need to wait for 0.4.1, see #1190