Skip to content

Commit

Permalink
Merge pull request #506 from fpuc/goreleaser
Browse files Browse the repository at this point in the history
goreleaser: Add -X to ldflags
  • Loading branch information
brancz committed Dec 21, 2021
2 parents 6dae1ef + 094e5ea commit 3d5c692
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
goreleaser:
name: Goreleaer Dry
name: Goreleaser Dry
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ builds:
- -trimpath
- -v
ldflags:
- main.version={{.Version}} -X main.commit={{.Commit}}`
- -X main.version={{.Version}} -X main.commit={{.Commit}}
archives:
- replacements:
darwin: Darwin
Expand Down

0 comments on commit 3d5c692

Please sign in to comment.