From 456aa006d27706fdee1680324a9d5c66a04a24c7 Mon Sep 17 00:00:00 2001 From: muquit Date: Sun, 6 Dec 2020 16:44:43 -0500 Subject: [PATCH] Update .goreleaser.yml for v 0.149.0 --- .goreleaser.yml | 77 ++++++++++++++++++++++++------------------------- 1 file changed, 38 insertions(+), 39 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 4985378..acc913a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,5 @@ -brew: - github: +brews: + - tap: owner: muquit name: mailsend-go folder: Formula @@ -21,41 +21,40 @@ builds: goarch: 386 - goos: linux goarch: 386 -archive: - format: tar.gz - name_template: "{{ .ProjectName }}_{{ .Version}}_{{.Os}}-{{ .Arch }}" - replacements: - amd64: 64bit - 386: 32bit - darwin: mac - linux: linux - windows: windows - arm: ARM - format_overrides: - - goos: windows - format: zip - files: - - docs/mailsend-go.1 - - README.md - - LICENSE.txt - wrap_in_directory: mailsend-go-dir -nfpm: - name_template: "{{ .ProjectName }}_{{ .Version}}_{{.Os}}-{{ .Arch }}" - homepage: "https://muquit.com/" - description: "Command like tool to send email via SMTP protocol" - maintainer: "Muhammad Muquit " - license: "MIT" - vendor: "muquit.com" - formats: - - deb - - rpm - replacements: - amd64: 64bit - linux: linux - arm: ARM - bindir: /usr/local/bin - files: - "docs/mailsend-go.1": "/usr/local/share/man/man1/mailsend-go.1" - "README.md": "/usr/local/share/docs/mailsend-go/README.md" - "LICENSE.txt": "/usr/local/share/docs/mailsend-go/LICENSE.txt" +archives: + - name_template: "{{ .ProjectName }}_{{ .Version}}_{{.Os}}-{{ .Arch }}" + replacements: + amd64: 64bit + 386: 32bit + darwin: mac + linux: linux + windows: windows + arm: ARM + format_overrides: + - goos: windows + format: zip + files: + - docs/mailsend-go.1 + - README.md + - LICENSE.txt + wrap_in_directory: mailsend-go-dir +nfpms: + - file_name_template: "{{ .ProjectName }}_{{ .Version}}_{{.Os}}-{{ .Arch }}" + homepage: "https://muquit.com/" + description: "Command like tool to send email via SMTP protocol" + maintainer: "Muhammad Muquit " + license: "MIT" + vendor: "muquit.com" + formats: + - deb + - rpm + replacements: + amd64: 64bit + linux: linux + arm: ARM + bindir: /usr/local/bin + files: + "docs/mailsend-go.1": "/usr/local/share/man/man1/mailsend-go.1" + "README.md": "/usr/local/share/docs/mailsend-go/README.md" + "LICENSE.txt": "/usr/local/share/docs/mailsend-go/LICENSE.txt"