Skip to content

Commit

Permalink
gorealser sets the correct version and hash
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleGamer22 committed Jul 11, 2022
1 parent e847ace commit 5642ae8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ builds:
- amd64
- arm64
ldflags:
- -X 'github.com/AppleGamer22/stalk/cmd.Version={{ .Version }}'
- -X 'github.com/AppleGamer22/stalk/cmd.Hash={{ .FullCommit }}'
- -X 'main.Version={{ .Version }}'
- -X 'main.Hash={{ .FullCommit }}'
- id: windows
goos:
- windows
goarch:
- amd64
- arm64
ldflags:
- -X 'github.com/AppleGamer22/stalk/cmd.Version={{ .Version }}'
- -X 'github.com/AppleGamer22/stalk/cmd.Hash={{ .FullCommit }}'
- -X 'main.Version={{ .Version }}'
- -X 'main.Hash={{ .FullCommit }}'
archives:
- id: unix
builds:
Expand Down

0 comments on commit 5642ae8

Please sign in to comment.