diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 72a0c6c7c..d8e6feb11 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -6,16 +6,21 @@ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json # vim: set ts=2 sw=2 tw=0 fo=cnqoj -version: 1 +version: 2 before: hooks: + - cd local-interchain - go mod tidy - - go generate ./... builds: - - env: + - id: "local-ic" + main: "./local-interchain/cmd/local-ic" + binary: "local-ic" + env: - CGO_ENABLED=0 + ldflags: + - -X main.Version=$(VERSION) goos: - linux - windows