From 2a9ee36d54f31c2cec7fb7e36b56b07197d9b1c0 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Sun, 20 Mar 2022 14:52:17 +0800 Subject: [PATCH] Create wireguard-go-releaser.yml --- .github/wireguard-go-releaser.yml | 52 +++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/wireguard-go-releaser.yml diff --git a/.github/wireguard-go-releaser.yml b/.github/wireguard-go-releaser.yml new file mode 100644 index 0000000..a43bfc4 --- /dev/null +++ b/.github/wireguard-go-releaser.yml @@ -0,0 +1,52 @@ +project_name: Build wireguard-go +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: ./ + binary: wireguard-go +universal_binaries: + - name_template: "wireguard-go" + replace: false +checksum: + name_template: "checksums.txt" +snapshot: + name_template: "wireguard-go" +archives: + - name_template: "wireguard-go_{{ .Os }}_{{ .Arch }}" + files: + - none* +changelog: + sort: asc + filters: + exclude: + - "^docs:" + - "^test:" + - "^chore" + - Merge pull request + - Merge branch + - go mod tidy