Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Move goreleaser file to root and update ldflags to correct pkg.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasell committed May 9, 2019
1 parent 835c136 commit 5892056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/goreleaser.yml → .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ builds:
# - Version (Tag with the `v` prefix stripped)
# The default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}`
# Date format is `2006-01-02_15:04:05`
ldflags: -s -w -X main.Version={{.Version}} -X main.GitCommit={{.Commit}} -X main.BuildDate={{.Date}} -X main.GitBranch={{.Tag}} -X main.GitState={{.Tag}} -X main.GitSummary={{.Commit}}
ldflags: -s -w -X github.com/jrasell/sherpa/pkg/build.Version={{.Version}} -X github.com/jrasell/sherpa/pkg/build.GitCommit={{.Commit}} -X github.com/jrasell/sherpa/pkg/build.BuildDate={{.Date}} -X github.com/jrasell/sherpa/pkg/build.GitBranch={{.Tag}} -X github.com/jrasell/sherpa/pkg/build.GitState={{.Tag}} -X github.com/jrasell/sherpa/pkg/build.GitSummary={{.Commit}}
main: ./cmd/

archive:
Expand Down

0 comments on commit 5892056

Please sign in to comment.