Skip to content

Commit

Permalink
Merge pull request #823 from HuijingHei/ci-minor-fix
Browse files Browse the repository at this point in the history
ci: fix vendor format to `tar.zstd`
  • Loading branch information
cgwalters authored Jan 23, 2025
2 parents efe41b6 + 48c6f88 commit d94820b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ This guide requires:
* [GPG setup][GPG setup] and personal key for signing
* [git-evtag](https://github.com/cgwalters/git-evtag/)
* `cargo` (suggested: latest stable toolchain from [rustup][rustup])
* `cargo-release` (suggested: `cargo install -f cargo-release`)
* `cargo vendor-filterer` (suggested: `cargo install -f cargo-vendor-filterer`)
* A verified account on crates.io
* Write access to this GitHub project
* Upload access to this project on GitHub, crates.io
Expand Down Expand Up @@ -49,7 +51,7 @@ This guide requires:

- publish this release on GitHub:
- [ ] find the new tag in the [GitHub tag list](https://github.com/coreos/bootupd/tags), click the triple dots menu, and create a release for it
- [ ] write a short changelog (i.e. re-use the PR content)
- [ ] write a short changelog with `git shortlog $last_tag..` (i.e. re-use the PR content). See previous releases for format, for example [`v0.2.25`](https://hackmd.io/@hhei/SkYe0AtMye)
- [ ] upload `target/${PROJECT}-${RELEASE_VER}-vendor.tar.gz`
- [ ] record digests of local artifacts:
- `sha256sum target/package/${PROJECT}-${RELEASE_VER}.crate`
Expand All @@ -64,9 +66,7 @@ This guide requires:
- Fedora packaging:
- [ ] update the `rust-bootupd` spec file in [Fedora](https://src.fedoraproject.org/rpms/rust-bootupd)
- bump the `Version`
- switch the `Release` back to `1%{?dist}`
- remove any patches obsoleted by the new release
- update changelog
- [ ] run `spectool -g -S rust-bootupd.spec`
- [ ] run `kinit [email protected]`
- [ ] run `fedpkg new-sources <crate-name> <vendor-tarball-name>`
Expand Down
4 changes: 2 additions & 2 deletions ci/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ commit=$(git rev-parse HEAD)

# Generate a vendor tarball of sources to attach to a release
# in order to support offline builds.
vendor_dest=target/${name}-${version}-vendor.tar.gz
cargo vendor-filterer --prefix=vendor --format=tar.gz "${vendor_dest}"
vendor_dest=target/${name}-${version}-vendor.tar.zstd
cargo vendor-filterer --prefix=vendor --format=tar.zstd "${vendor_dest}"

echo "Prepared ${version} at commit ${commit}"

0 comments on commit d94820b

Please sign in to comment.