From e1e6327d8df24aa1bd5e64fe9cf07e3c6b7c1460 Mon Sep 17 00:00:00 2001 From: Pavlo Golub Date: Mon, 26 Aug 2024 09:31:52 +0000 Subject: [PATCH] [+] add 'go generate' pre-build hook --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index d97bd0b..0bd6880 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,7 +3,6 @@ version: 2 before: hooks: - go mod tidy - - go generate ./... builds: - env: @@ -11,7 +10,8 @@ builds: goos: - linux - windows - # - darwin + hooks: + pre: go generate ./... archives: - name_template: >-