Skip to content

Commit

Permalink
Add version string ldflags arg to goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballhat committed Jan 9, 2024
1 parent 5e6b5dc commit 909d3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ builds:
- windows
- darwin
ldflags:
- -s -w
- -s -w -X github.com/rstudio/rskey/cmd.Version={{ .Version }}
mod_timestamp: '{{ .CommitTimestamp }}'
tags:
- netgo
Expand Down

0 comments on commit 909d3fc

Please sign in to comment.