Create COPYING.rust-dependencies in release tarballs

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2023-11-16 15:45:12 -05:00
parent 47bb2d53ce
commit 9776f9f362

View File

@ -7,10 +7,16 @@ version=$1
git checkout v$version
git clean -xfd
(cd rust-src; cargo license) > COPYING.rust-dependencies
git ls-files|
tar --create --file bcachefs-tools-$version.tar -T - \
tar --create --file bcachefs-tools-$version.tar -T - \
--transform="s_^_bcachefs-tools-$version/_"
tar --append --file bcachefs-tools-$version.tar \
--transform="s_^_bcachefs-tools-$version/_" \
COPYING.rust-dependencies
zstd -z --ultra bcachefs-tools-$version.tar
gpg --armor --detach-sign bcachefs-tools-$version.tar