summaryrefslogtreecommitdiff
path: root/.goreleaser.yml
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-21 08:20:16 +1000
committerJames Mills <prologic@shortcircuit.net.au>2020-03-21 08:20:16 +1000
commitd7a1eab5beba4241dab4402c5cd268432d7b46cd (patch)
tree6383b4ebf511b58597d827dc5af00b71c72caf38 /.goreleaser.yml
parent13ffd7117180d1a3093ff291481caeb07a8b71de (diff)
Migrate to Go111Modules, Add Dockerfile and GoRelaser support
Diffstat (limited to '.goreleaser.yml')
-rw-r--r--.goreleaser.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
new file mode 100644
index 0000000..e0f3afd
--- /dev/null
+++ b/.goreleaser.yml
@@ -0,0 +1,35 @@
+---
+builds:
+ -
+ flags: -tags "static_build"
+ ldflags: -w -X github.com/prologic/tube/.Version={{.Version}} -X github.com/prologic/tube/.Commit={{.Commit}}
+ env:
+ - CGO_ENABLED=0
+ goos:
+ - windows
+ - freebsd
+ - darwin
+ - linux
+ goarch:
+ - amd64
+ - arm
+ - arm64
+sign:
+ artifacts: checksum
+archive:
+ replacements:
+ darwin: Darwin
+ linux: Linux
+ windows: Windows
+ 386: i386
+ amd64: x86_64
+checksum:
+ name_template: 'checksums.txt'
+snapshot:
+ name_template: "{{ .Tag }}-next"
+changelog:
+ sort: asc
+ filters:
+ exclude:
+ - '^docs:'
+ - '^test:'