Skip to content

Commit

Permalink
Added proper ldflags for version in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
bmonkman committed Jul 18, 2020
1 parent ee7a138 commit 9ea14f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .goreleaser.yml
Expand Up @@ -5,6 +5,8 @@ before:
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -X github.com/commitdev/zero/cmd.appVersion={{.Version}} -X github.com/commitdev/zero/cmd.appBuild={{.ShortCommit}}
archives:
- replacements:
darwin: Darwin
Expand Down Expand Up @@ -34,8 +36,14 @@ brews:
description: "Allow startup developers to ship to production on day 1."
dependencies:
- name: git
type: optional
- name: terraform
type: optional
- name: jq
type: optional
- name: awscli
type: optional
- name: kubectl
type: optional
test: |
system "#{bin}/zero version"

0 comments on commit 9ea14f0

Please sign in to comment.