Skip to content

Commit

Permalink
adding goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
gulien authored Jun 26, 2017
1 parent 96d5844 commit 951fe31
Show file tree
Hide file tree
Showing 2 changed files with 26 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 @@
.idea
dist
vendor
25 changes: 25 additions & 0 deletions goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
homepage: &homepage https://github.com/gulien/orbit
description: &description A simple tool for running commands and generating files from templates
build:
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
archive:
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip

0 comments on commit 951fe31

Please sign in to comment.