]> git.ipfire.org Git - thirdparty/qemu.git/commit
scripts/archive-source: find directory name for subprojects
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Oct 2024 14:26:35 +0000 (16:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Oct 2024 10:32:17 +0000 (12:32 +0200)
commit474dcfc0ab093043fee9952282bcab5f1dedc43a
treecb28b1e90cb976ad0a86ac4b4a0253904f8a4e56
parent5a5110d290c0f2dca3d98c608b0ec9a01d2181b9
scripts/archive-source: find directory name for subprojects

Rust subprojects have the semantic version (followed by -rs) in the subproject
name, but the full version (without -rs) is used by crates.io for the root
directory of the tarball.  Teach scripts/archive-source.sh to look for the
root directory name in wrap files.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/archive-source.sh