Increment the year_version and release_version macros in configure.ac. 增加 year_version 和 release_version 宏在 configure.ac 中。
Increment the Version field in rpm-ostree.spec.in. 增加 Version 字段在 rpm-ostree.spec.in 中。
Verify the libdnf deps in rpm-ostree.spec.in are up to date by copy/pasting the relevant bits from the spec in the git submodule (libdnf/libdnf.spec). 通过从 git 子模块的规范中复制/粘贴相关部分来验证 rpm-ostree.spec.in 中的 libdnf 依赖项是否是最新的。
Submit as a PR and wait until reviewed and CI is green. 提交 PR 并等待审核和 CI 通过。
Once merged, do git pull $upstream && git reset --hard $upstream/main on your local main branch to make sure you’re on the right commit. 合并后,在本地 main 分支上执行 git pull $upstream && git reset --hard $upstream/main 以确保您处于正确的提交。
Draft release notes by seeding a HackMD.io with git shortlog $last_tag.. and ideally collaborating with others. Filter out the commits from dependabot. See previous releases for format. 通过在 HackMD.io 中使用 git shortlog $last_tag.. 草拟发布说明,并最好与他人合作。过滤掉来自 dependabot 的提交。查看以前的版本发布格式。
Use git-evtag to create a signed tag with the release notes as its content. Make the first line be the name of the tag itself. 使用 git-evtag 创建一个带有发布说明的签名标签。使第一行成为标签本身的名称。
Push the tag using git push $upstream v202X.XX. 使用 git push $upstream v202X.XX 推送标签。
Create the xz tarball: make -C packaging -f Makefile.dist-packaging dist-snapshot 创建 xz 压缩包: make -C packaging -f Makefile.dist-packaging dist-snapshot
Create a GitHub release for the new release tag using its contents and attach the tarball. 使用其内容为新发布标签创建 GitHub 发布,并附加压缩包。