File tree Expand file tree Collapse file tree 2 files changed +7
-27
lines changed
Expand file tree Collapse file tree 2 files changed +7
-27
lines changed Original file line number Diff line number Diff line change 11GO ?= GO15VENDOREXPERIMENT=1 go
22GOPATH := $(firstword $(subst :, ,$(shell $(GO ) env GOPATH) ) )
33GOLINTER ?= $(GOPATH ) /bin/gometalinter
4+ GORELEASER ?= $(GOPATH ) /bin/goreleaser
45pkgs = $(shell $(GO ) list ./... | grep -v /vendor/)
56TARGET ?= s3deploy
67
2829build :
2930 @echo " >> building binaries"
3031 @$(GO ) build
32+
33+ release :
34+ @echo " >> building releases"
35+ @$(GORELEASER ) build
Original file line number Diff line number Diff line change @@ -11,33 +11,8 @@ build:
1111 - amd64
1212 - arm
1313 - arm64
14- brew :
15- github :
16- owner : sequra
17- name : homebrew-tap
18- folder : Formula
19- homepage : " https://github.com/sequra/s3deploy"
20- description : " Deploy static websites to Amazon S3 with Gzip and headers support."
21- test : |
22- system "#{bin}/s3deploy", "-h"
23- nfpm :
24- formats :
25- - deb
26- vendor : " sequra"
27- homepage : " https://github.com/sequra/s3deploy"
28- maintainer : " <Bjørn Erik Pedersen bjorn.erik.pedersen@gmail.com>"
29- description : " A powerful tool to deploy static websites to Amazon S3 with Gzip and custom headers support."
30- license : " MIT"
31- name_template : " {{.Binary}}_{{.Version}}_{{.Os}}-{{.Arch}}"
32- replacements :
33- amd64 : 64bit
34- arm : ARM
35- arm64 : ARM64
36- darwin : macOS
37- linux : Linux
38- windows : Windows
39- archive :
40- format : tar.gz
14+ archives :
15+ - format : tar.gz
4116 format_overrides :
4217 - goos : windows
4318 format : zip
You can’t perform that action at this time.
0 commit comments