You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: gate weak deps feature behind --go-library-weak-deps flag
The weak dependency feature is now opt-in via CLI flag.
When not enabled, Go library dependencies behave as regular hard dependencies.
Co-authored-by: Ona <no-reply@ona.com>
cmd.Flags().Bool("report-github", os.Getenv("GITHUB_OUTPUT") !="", "Report package build success/failure to GitHub Actions using the GITHUB_OUTPUT environment variable")
242
242
cmd.Flags().Bool("fixed-build-dir", true, "Use a fixed build directory for each package, instead of based on the package version, to better utilize caches based on absolute paths (defaults to true)")
243
243
cmd.Flags().Bool("docker-export-to-cache", false, "Export Docker images to cache instead of pushing directly (enables SLSA L3 compliance)")
244
+
cmd.Flags().Bool("go-library-weak-deps", false, "Treat Go library dependencies as weak dependencies (copy source instead of built artifacts)")
0 commit comments