From 2f1b3db07dfe7c447a51609c8138bd2651cfeb77 Mon Sep 17 00:00:00 2001 From: iyear Date: Sat, 4 Apr 2020 15:07:18 +0800 Subject: [PATCH] Update --- .goreleaser.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..1a93ec6 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,33 @@ +project_name: E5SubBot +env: + - GO111MODULE=on +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + goarch: + - 386 + - amd64 +checksum: + name_template: '{{ .ProjectName }}_checksums.txt' +archives: + - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: 32bit + amd64: 64bit + format_overrides: + - goos: windows + format: zip +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' \ No newline at end of file