Skip to content

Commit

Permalink
adding goreleaser support
Browse files Browse the repository at this point in the history
  • Loading branch information
janhalfar committed Feb 12, 2020
1 parent f1fee53 commit 6bde137
Show file tree
Hide file tree
Showing 2 changed files with 29 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 @@
.*
!.git*
/dist
28 changes: 28 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
builds:
- binary: logfrog
main: ./cmd/cli/logfrog.go
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X cmd/cli/main.version={{.Version}}
- -s -w -X main.version={{.Version}}
goos:
# - windows ./printcli.go:55:9: undefined: syscall.SIGWINCH 🤮
- darwin
- linux
goarch:
- amd64

archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip

brews:
- github:
owner: foomo
name: homebrew-logfrog
caveats: "logfrog --help"
homepage: "https://github.com/foomo/logfrog"
description: "cli utility to tail structured json logs from streams specially featuring stern and docker-compose with support for filtering and transformations of log entries"

0 comments on commit 6bde137

Please sign in to comment.