Skip to content

Commit

Permalink
Merge pull request #8 from shipyard/swap-git-commit-and-version
Browse files Browse the repository at this point in the history
Swap Git commit and version (tag) in the GoReleaser file
  • Loading branch information
maxsokolovsky authored Feb 23, 2023
2 parents 99da2c5 + 9472419 commit 8388b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ builds:
shipyard-{{.Os}}-{{.Arch}}
ldflags:
- -s -w
- -X shipyard/version.GitCommit={{.Version}}
- -X shipyard/version.Version={{.ShortCommit}}
- -X shipyard/version.GitCommit={{.ShortCommit}}
- -X shipyard/version.Version={{.Version}}
checksum:
name_template: 'checksums.txt'
changelog:
Expand Down

0 comments on commit 8388b3b

Please sign in to comment.