From 909bcc34bfe7855c8089de63b3ff0cf8a1b45fdd Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Sat, 23 Apr 2022 12:15:01 +0800 Subject: [PATCH] Create wireguard-tools-releaser.yml --- .github/wireguard-tools-releaser.yml | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/wireguard-tools-releaser.yml diff --git a/.github/wireguard-tools-releaser.yml b/.github/wireguard-tools-releaser.yml new file mode 100644 index 0000000..1e3007d --- /dev/null +++ b/.github/wireguard-tools-releaser.yml @@ -0,0 +1,42 @@ +project_name: Build wireguard-tools +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-tools +universal_binaries: + - name_template: "wireguard-tools" + replace: false +checksum: + name_template: "checksums.txt" +snapshot: + name_template: "wireguard-tools" +archives: + - name_template: "wireguard-tools_{{ .Os }}_{{ .Arch }}" + files: + - none*