Regenerate local artifacts and invalidate stale receipts

This commit is contained in:
2026-10-06 00:56:44 +00:00
parent b744346210
commit b4d348dd1f
9 changed files with 90 additions and 40 deletions

View File

@@ -54,7 +54,7 @@ type BuildResult struct {
}
// Build compiles the selected targets with Version injected through buildinfo.
// It uses the prepared local Go environment, preserves existing output files,
// It uses the prepared local Go environment, regenerates selected output files while preserving unrelated files,
// and verifies the version command on the native host before succeeding. An
// empty target set records source identity without running the Go toolchain.
// Errors return partial build facts in the result.