Skip to content

Commit d94820b

Browse files
authored
Merge pull request #823 from HuijingHei/ci-minor-fix
ci: fix vendor format to `tar.zstd`
2 parents efe41b6 + 48c6f88 commit d94820b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: .github/ISSUE_TEMPLATE/release-checklist.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ This guide requires:
1313
* [GPG setup][GPG setup] and personal key for signing
1414
* [git-evtag](https://github.com/cgwalters/git-evtag/)
1515
* `cargo` (suggested: latest stable toolchain from [rustup][rustup])
16+
* `cargo-release` (suggested: `cargo install -f cargo-release`)
17+
* `cargo vendor-filterer` (suggested: `cargo install -f cargo-vendor-filterer`)
1618
* A verified account on crates.io
1719
* Write access to this GitHub project
1820
* Upload access to this project on GitHub, crates.io
@@ -49,7 +51,7 @@ This guide requires:
4951

5052
- publish this release on GitHub:
5153
- [ ] 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
52-
- [ ] write a short changelog (i.e. re-use the PR content)
54+
- [ ] 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)
5355
- [ ] upload `target/${PROJECT}-${RELEASE_VER}-vendor.tar.gz`
5456
- [ ] record digests of local artifacts:
5557
- `sha256sum target/package/${PROJECT}-${RELEASE_VER}.crate`
@@ -64,9 +66,7 @@ This guide requires:
6466
- Fedora packaging:
6567
- [ ] update the `rust-bootupd` spec file in [Fedora](https://src.fedoraproject.org/rpms/rust-bootupd)
6668
- bump the `Version`
67-
- switch the `Release` back to `1%{?dist}`
6869
- remove any patches obsoleted by the new release
69-
- update changelog
7070
- [ ] run `spectool -g -S rust-bootupd.spec`
7171
- [ ] run `kinit [email protected]`
7272
- [ ] run `fedpkg new-sources <crate-name> <vendor-tarball-name>`

Diff for: ci/prepare-release.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ commit=$(git rev-parse HEAD)
88

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

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

0 commit comments

Comments
 (0)