Skip to content

Commit

Permalink
Configure goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Haeusler committed Feb 24, 2019
1 parent 1168d7b commit a37fc19
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
### Go Patch
/vendor/
/Godeps/

### Goreleaser
/dist/
33 changes: 33 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
project_name: bilocation

builds:
- binary: bilocation
goos:
- darwin
- linux
goarch:
- amd64

release:
github:
owner: corvus-ch
name: bilocation

brew:
github:
owner: corvus-ch
name: homebrew-tools

homepage: https://github.com/corvus-ch/tagfuse
description: A tagging file system

nfpm:
homepage: https://github.com/corvus-ch/bilocation
description: A tagging file system
maintainer: Christian Häusler <haeusler.christian@mac.com>
license: MIT

formats:
- deb

bindir: /usr/bin
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ build: $(binary_name)
$(binary_name): $(wildcard **/*.go)
go build

.PHONY: release
release:
goreleaser --rm-dist

.PHONY: snapshot
snapshot:
goreleaser --rm-dist --snapshot

.PHONY: protobuf
protobuf: tag/internal/bilocation.pb.go

Expand Down

0 comments on commit a37fc19

Please sign in to comment.