diff options
author | Luca Casonato <hello@lcas.dev> | 2024-02-20 13:30:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 13:30:34 +0100 |
commit | 54a3eb585df170c14bdc0e237a8a2276dd705f38 (patch) | |
tree | b816cb29f2bf76b024e8050857e3a5b83a3cf7b8 /cli/tools/registry/tar.rs | |
parent | 8fdd65556299efa58512467b4d19d2612441d376 (diff) |
fix(publish): print files that will be published (#22495)
Diffstat (limited to 'cli/tools/registry/tar.rs')
-rw-r--r-- | cli/tools/registry/tar.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tools/registry/tar.rs b/cli/tools/registry/tar.rs index 2fdb60f63..3dc2616fa 100644 --- a/cli/tools/registry/tar.rs +++ b/cli/tools/registry/tar.rs @@ -160,6 +160,8 @@ pub fn create_gzipped_tarball( write!(&mut hash, "{:02x}", byte).unwrap(); } + files.sort_by(|a, b| a.specifier.cmp(&b.specifier)); + Ok(PublishableTarball { files, hash, |