From f8ab44741d523a58cb1aef4155808d640369f998 Mon Sep 17 00:00:00 2001 From: Craig Furman Date: Wed, 15 May 2024 15:48:55 +0100 Subject: [PATCH] fix go-generate command in goreleaser config (#1085) https://github.com/golang/go/issues/60079 changed the behavior of go-generate when the target package does not exist. It used to silently succeeed, now it errors. The schema package was removed in 2021. --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 392fb61caf..e82823cf09 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,7 @@ before: hooks: - go mod download - go mod tidy - - go generate ./schema + - go generate ./... builds: - main: ./cmd/src/