Skip to content

Commit

Permalink
build: update .goreleaser.yaml
Browse files Browse the repository at this point in the history
Updates the goreleaser config file to correctly build the local-ic binaries
  • Loading branch information
jtieri committed Sep 13, 2024
1 parent 3f71056 commit 9e08025
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e08025

Please sign in to comment.