feat(install): generate NuGet packages
VoidBuildSystem CI / signing-openssl-gcc16 (push) Successful in 1m36s
VoidBuildSystem CI / fuzz-clang (push) Failing after 1m43s
VoidBuildSystem CI / sanitizers-gcc16 (push) Successful in 3m9s
VoidBuildSystem CI / build-and-test-gcc16 (push) Canceled after 7m56s

This commit is contained in:
faumaray committed 2026-12-05 14:31:31 +03:00
1 parent 97709d37a5
commit b7c224cf67
7 files changed
+172 -5

No files matched your search

+3 -3
View File
@@ -2547,9 +2547,9 @@ int execute_install_command(const InstallCmdOptions &opts) {
if (opts.archive_format_arg != "tar" && opts.archive_format_arg != "sh" &&
opts.archive_format_arg != "zip" && opts.archive_format_arg != "deb" &&
opts.archive_format_arg != "rpm" && opts.archive_format_arg != "wix" &&
opts.archive_format_arg != "dmg") {
opts.archive_format_arg != "dmg" && opts.archive_format_arg != "nuget") {
std::cerr << "vbs install: unsupported --archive-format '" << opts.archive_format_arg
<< "' (expected tar, sh, zip, deb, rpm, wix or dmg)\n";
<< "' (expected tar, sh, zip, deb, rpm, wix, dmg or nuget)\n";
return 2;
}
if (opts.archive_arg && !opts.archive_arg->empty()) {
@@ -3762,7 +3762,7 @@ int main(int argc, char **argv) {
.option("--archive", "", "Write a deterministic installer archive of the prefix",
install_opts.archive_arg)
.option_default("--archive-format", "",
"Installer archive format: tar (default), sh, zip, deb, rpm, wix or dmg",
"Installer archive format: tar (default), sh, zip, deb, rpm, wix, dmg or nuget",
install_opts.archive_format_arg, "tar")
.option("--signing-key", "",
"Ed25519 seed file; signs the archive and writes .sha256/.sig/.pub",