diff --git a/porch/pkg/git/git.go b/porch/pkg/git/git.go index 3842fa8d6..37857916e 100644 --- a/porch/pkg/git/git.go +++ b/porch/pkg/git/git.go @@ -58,7 +58,7 @@ type GitRepository interface { UpdateDeletionProposedCache() error } -//go:generate go run golang.org/x/tools/cmd/stringer -type=MainBranchStrategy -linecomment +//go:generate go run golang.org/x/tools/cmd/stringer@v0.19.0 -type=MainBranchStrategy -linecomment type MainBranchStrategy int const (