Skip to content

NSwag.zip 14.3.0 packaging issue #5137

@eg-bernardo

Description

@eg-bernardo

Describe the bug

This release https://github.com/RicoSuter/NSwag/releases/download/v14.3.0/NSwag.zip is a zip inside another zip, which broke scoop update of NSwagStudio: ScoopInstaller/Extras#15207

Version of NSwag toolchain, computer and .NET runtime used

NSwag: 14.3.0
Computer: N/A
.NET runtime: N/A

To Reproduce

Download https://github.com/RicoSuter/NSwag/releases/download/v14.3.0/NSwag.zip to NSwag.14.3.0.zip and list contents using 7zip:

> 7z.exe l .\NSwag.14.3.0.zip

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Scanning the drive for archives:
1 file, 13993126 bytes (14 MiB)

Listing archive: .\NSwag.14.3.0.zip

--
Path = .\NSwag.14.3.0.zip
Type = zip
Physical Size = 13993126

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2025-03-29 16:37:04 .....     14050882     13992994  NSwag.zip
------------------- ----- ------------ ------------  ------------------------
2025-03-29 16:37:04           14050882     13992994  1 files

Expected behavior

Should have the same strucutre as the 14.2.0 release:

> 7z.exe l .\NSwag.14.2.0.zip

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29

Scanning the drive for archives:
1 file, 13966064 bytes (14 MiB)

Listing archive: .\NSwag.14.2.0.zip

--
Path = .\NSwag.14.2.0.zip
Type = zip
Physical Size = 13966064

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
...
some lines omited
...
2024-11-19 15:29:10 .....       288256        50655  NSwagStudio.exe
2024-11-19 15:24:36 .....        26720         1485  NSwagStudio.exe.config
2024-11-19 15:29:10 .....       351744       124518  NSwagStudio.pdb
...
some lines omited
...
------------------- ----- ------------ ------------  ------------------------
2024-11-19 15:29:10           33631315     13888474  544 files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions