Re: [PATCH] scripts/archive-source: find directory name for subprojects

2024-10-10 Thread Peter Maydell
On Thu, 10 Oct 2024 at 16:07, Paolo Bonzini wrote: > > 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 dir

[PATCH] scripts/archive-source: find directory name for subprojects

2024-10-10 Thread Paolo Bonzini
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 ---