diff --git a/make-release-tarball.sh b/make-release-tarball.sh index 68d563fe..32e4772c 100755 --- a/make-release-tarball.sh +++ b/make-release-tarball.sh @@ -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