-
Notifications
You must be signed in to change notification settings - Fork 492
GoReleaser - hooks feature #2692
Copy link
Copy link
Closed
Description
Hi @tlimoncelli, because I forgot to perform the go generate the last time c29a648, I looked further into the possibilities of guaranteeing the go generate from the before hooks through GoReleaser.
The
beforesection allows for global hooks that will be executed before the release is started.
Example configuration based on DNSControl
before: hooks: - go vet ./... - go fmt ./... - go generate ./... - go mod tidy
What do you think? Should I prepare a pull request with this change?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels