Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
l3uddz committed Jun 14, 2020
2 parents 97009e8 + aae9561 commit 063be1e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ builds:
- amd64
ldflags:
- -s -w
- -X "github.com/l3uddz/mediarr/build.Version={{ .Version }}"
- -X "github.com/l3uddz/mediarr/build.GitCommit={{ .ShortCommit }}"
- -X "github.com/l3uddz/mediarr/build.Timestamp={{ .Timestamp }}"
- -X "github.com/l3uddz/mediarr/release.Version={{ .Version }}"
- -X "github.com/l3uddz/mediarr/release.GitCommit={{ .ShortCommit }}"
- -X "github.com/l3uddz/mediarr/release.Timestamp={{ .Timestamp }}"
flags:
- -trimpath

Expand All @@ -33,9 +33,9 @@ builds:
- -linkmode external
- -extldflags -static
- -s -w
- -X "github.com/l3uddz/mediarr/build.Version={{ .Version }}"
- -X "github.com/l3uddz/mediarr/build.GitCommit={{ .ShortCommit }}"
- -X "github.com/l3uddz/mediarr/build.Timestamp={{ .Timestamp }}"
- -X "github.com/l3uddz/mediarr/release.Version={{ .Version }}"
- -X "github.com/l3uddz/mediarr/release.GitCommit={{ .ShortCommit }}"
- -X "github.com/l3uddz/mediarr/release.Timestamp={{ .Timestamp }}"
flags:
- -trimpath
- -tags=netgo
Expand All @@ -52,9 +52,9 @@ builds:
- amd64
ldflags:
- -s -w
- -X "github.com/l3uddz/mediarr/build.Version={{ .Version }}"
- -X "github.com/l3uddz/mediarr/build.GitCommit={{ .ShortCommit }}"
- -X "github.com/l3uddz/mediarr/build.Timestamp={{ .Timestamp }}"
- -X "github.com/l3uddz/mediarr/release.Version={{ .Version }}"
- -X "github.com/l3uddz/mediarr/release.GitCommit={{ .ShortCommit }}"
- -X "github.com/l3uddz/mediarr/release.Timestamp={{ .Timestamp }}"
flags:
- -trimpath

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ${BUILD_PATH}/${CMD}: ${GO_FILES} go.sum
CGO_ENABLED=${CGO} go build \
-mod vendor \
-trimpath \
-ldflags "-s -w -X github.com/l3uddz/mediarr/build.Version=${VERSION} -X github.com/l3uddz/mediarr/build.GitCommit=${GIT_COMMIT} -X github.com/l3uddz/mediarr/build.Timestamp=${TIMESTAMP}" \
-ldflags "-s -w -X github.com/l3uddz/mediarr/release.Version=${VERSION} -X github.com/l3uddz/mediarr/release.GitCommit=${GIT_COMMIT} -X github.com/l3uddz/mediarr/release.Timestamp=${TIMESTAMP}" \
-o ${BUILD_PATH}/${CMD} \
.

Expand Down

0 comments on commit 063be1e

Please sign in to comment.