Skip to content

Commit

Permalink
add back ldflags and rename goreleaser config file
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker committed Jan 23, 2024
1 parent 26b0489 commit fa9f57a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .goreleaser.develop.yaml → .goreleaser.develop.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ builds:
flags:
- -trimpath
- -buildmode=pie
ldflags:
- -X github.com/smartcontractkit/chainlink/v2/core/static.Version={{ .Env.CHAINLINK_VERSION }}
- -X github.com/smartcontractkit/chainlink/v2/core/static.Sha={{ .FullCommit }}

- id: linux-amd64
binary: "{{ .ProjectName }}"
Expand All @@ -36,6 +39,9 @@ builds:
flags:
- -trimpath
- -buildmode=pie
ldflags:
- -X github.com/smartcontractkit/chainlink/v2/core/static.Version={{ .Env.CHAINLINK_VERSION }}
- -X github.com/smartcontractkit/chainlink/v2/core/static.Sha={{ .FullCommit }}

# See https://goreleaser.com/customization/docker/
dockers:
Expand Down

0 comments on commit fa9f57a

Please sign in to comment.