From 223c0de35ae9304c72a152016546a73bddae675e Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Wed, 16 May 2018 13:51:51 +0200 Subject: [PATCH] adding goreleaser --- .goreleaser.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 00000000..722a2f72 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,28 @@ +--- +project_name: Gotenberg +builds: + - main: ./main.go + binary: gotenberg + 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: tar.gz + format_overrides: + - goos: windows + format: zip \ No newline at end of file