diff --git a/.goreleaser.yml b/.goreleaser.yml index 358dfbfa2..d5b3e9ea6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,7 @@ builds: - - hooks: - pre: packr + - main: ./main.go + hooks: + pre: go generate env: - CGO_ENABLED=0 goos: diff --git a/main.go b/main.go index b6e8399c6..3e06e9840 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,4 @@ +//go:generate packr package main import (