Skip to content

Commit

Permalink
feat: add build version (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
sysulq committed Jul 16, 2021
1 parent 5510727 commit 2bdf697
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ builds:
- darwin
- windows
goarch: [amd64]
ldflags:
- -X github.com/douyu/jupiter/pkg.buildAppVersion={{.Version}}
- -X github.com/douyu/jupiter/pkg.buildTime={{.Date}}
- -X github.com/douyu/jupiter/pkg.buildUser=goreleaser
- main: ./cmd/juno-proxy
id: "juno-proxy"
binary: juno-proxy
Expand All @@ -17,6 +21,10 @@ builds:
- darwin
- windows
goarch: [amd64]
ldflags:
- -X github.com/douyu/jupiter/pkg.buildAppVersion={{.Version}}
- -X github.com/douyu/jupiter/pkg.buildTime={{.Date}}
- -X github.com/douyu/jupiter/pkg.buildUser=goreleaser
- main: ./cmd/juno-swagger
id: "juno-swagger"
binary: juno-swagger
Expand Down

0 comments on commit 2bdf697

Please sign in to comment.