Skip to content

Commit

Permalink
Merge pull request #5 from takaishi/embed-version
Browse files Browse the repository at this point in the history
Embed version
  • Loading branch information
takaishi authored Jan 28, 2019
2 parents ed63656 + a24a213 commit 65cc390
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
tmp
example.md
dist
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ before:
builds:
- env:
- CGO_ENABLED=0
ldflags:
-X github.com/takaishi/mdtoc/config.Version={{.Version}}
archive:
replacements:
darwin: Darwin
Expand Down

0 comments on commit 65cc390

Please sign in to comment.