Skip to content

Commit

Permalink
fix go-generate command in goreleaser config (#1085)
Browse files Browse the repository at this point in the history
golang/go#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.
  • Loading branch information
Craig Furman authored May 15, 2024
1 parent f29ca46 commit f8ab447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ before:
hooks:
- go mod download
- go mod tidy
- go generate ./schema
- go generate ./...
builds:
-
main: ./cmd/src/
Expand Down

0 comments on commit f8ab447

Please sign in to comment.