Packaging Fix

This commit is contained in:
2026-05-07 07:41:22 +02:00
parent 90ba281f1b
commit 601e89bece
4 changed files with 122 additions and 5 deletions
+5 -1
View File
@@ -565,7 +565,11 @@ func runBuildTopPackage(ctx context) error {
return err
}
result, err := topdata.BuildAndPackageWithOptions(p, opts, func(message string) {
if opts.BuildWiki {
return fmt.Errorf("--wiki is not supported with build-top-package; use build-topdata when wiki generation is required")
}
result, err := topdata.BuildPackage(p, func(message string) {
fmt.Fprintf(ctx.stdout, "[build-top-package] %s\n", message)
})
if err != nil {