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