From 5010a639034fdb61c935e5ef151a9f0cbbbe6465 Mon Sep 17 00:00:00 2001 From: fscarmen Date: Thu, 31 Mar 2022 17:08:20 +0800 Subject: [PATCH] Create wireproxy-releaser.yml --- .github/wireproxy-releaser.yml | 52 ++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/wireproxy-releaser.yml diff --git a/.github/wireproxy-releaser.yml b/.github/wireproxy-releaser.yml new file mode 100644 index 0000000..0242f6c --- /dev/null +++ b/.github/wireproxy-releaser.yml @@ -0,0 +1,52 @@ +project_name: Build wireproxy +before: + hooks: + - go mod tidy -v +builds: + - env: + - CGO_ENABLED=0 + ldflags: + - -s -w -X main.version={{.Version}} -X main.arch={{.Arch}} + goos: + - linux + - windows + - darwin + goarch: + - arm + - arm64 + - 386 + - amd64 + - mips + - mipsle + - s390x + - riscv64 + gomips: + - softfloat + ignore: + - goos: windows + goarch: arm + - goos: windows + goarch: arm64 + main: ./cmd/wireproxy/ + binary: wireproxy +universal_binaries: + - name_template: "wireproxy" + replace: false +checksum: + name_template: "checksums.txt" +snapshot: + name_template: "wireproxy" +archives: + - name_template: "wireproxy_{{ .Os }}_{{ .Arch }}" + files: + - none* +changelog: + sort: asc + filters: + exclude: + - "^docs:" + - "^test:" + - "^chore" + - Merge pull request + - Merge branch + - go mod tidy