Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
Added .goreleaser.yml for automated binary builds and releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinplaner committed Oct 12, 2017
1 parent 7820e32 commit ee5d958
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# ignore main binary
/felix
/felix.exe

#ignore runtime and build artifacts
/config.yml
/coverage.txt
/felix.db
/dist


# ignore Jetbrains IDE project files
.idea
Expand Down
21 changes: 21 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
builds:
- binary: felix
goos:
- windows
- darwin
- linux
goarch:
- amd64
ldflags: -s -w -X main.Version={{.Version}} -X main.GitSummary={{.Commit}} -X main.BuildDate={{.Date}}

archive:
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- CHANGELOG.md
- VERSION
- config.example.yml

0 comments on commit ee5d958

Please sign in to comment.