Packaging Fix
This commit is contained in:
+5
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user