Skip to content

Commit

Permalink
[+] add 'go generate' pre-build hook
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Aug 26, 2024
1 parent 5df1382 commit e1e6327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ version: 2
before:
hooks:
- go mod tidy
- go generate ./...

builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
# - darwin
hooks:
pre: go generate ./...

archives:
- name_template: >-
Expand Down

0 comments on commit e1e6327

Please sign in to comment.