-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 0.2.23 #733
Comments
HuijingHei
added a commit
to HuijingHei/bootupd
that referenced
this issue
Sep 25, 2024
Merged
We need to wait for the SELinux changes to land or turn it back to permissive before we land this in F41. |
And we'll need a new release once #740 lands. |
We need this for rawhide, close this as done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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).
Requirements
This guide requires:
git
cargo
(suggested: latest stable toolchain from rustup)Release checklist
Prepare local branch+commit
git checkout -b release
Cargo.toml
. Usually you just want to bump the patch.cargo build
to ensureCargo.lock
would be updatedgit commit -a -m 'Release x.y.z'
; include some useful brief changelog.Prepare the release
./ci/prepare-release.sh
Validate that
origin
points to the canonical upstream repository and not your fork:git remote show origin
should not begithub.aaakk.us.kg/$yourusername/$project
but shouldbe under the organization ownership. The remote
yourname
should be for your fork.open and merge a PR for this release:
git push --set-upstream origin release
publish the artifacts (tag and crate):
git fetch origin && git checkout ${RELEASE_COMMIT}
Cargo.toml
has the expected versiongit-evtag sign v${RELEASE_VER}
git push --tags origin v${RELEASE_VER}
cargo publish
publish this release on GitHub:
target/${PROJECT}-${RELEASE_VER}-vendor.tar.gz
sha256sum target/package/${PROJECT}-${RELEASE_VER}.crate
sha256sum target/${PROJECT}-${RELEASE_VER}-vendor.tar.gz
clean up:
git push origin :release
cargo clean
git checkout main
Fedora packaging:
rust-bootupd
spec file in FedoraVersion
Release
back to1%{?dist}
spectool -g -S rust-bootupd.spec
kinit [email protected]
fedpkg new-sources <crate-name> <vendor-tarball-name>
fedpkg build
rust-bootupd
forPackages
link to GitHub release
"Update name
blankType
,Severity
andSuggestion
can be left asunspecified
unless it is a security release. In that case selectsecurity
with the appropriate severity.Stable karma
andUnstable
karma can be set to2
and-1
, respectively.RHCOS packaging:
rust-bootupd
spec fileVersion
Release
back to1%{?dist}
spectool -g -S rust-bootupd.spec
kinit [email protected]
rhpkg new-sources <crate-name> <vendor-tarball-name>
rhpkg build
CentOS Stream 9 packaging:
The text was updated successfully, but these errors were encountered: