2021-01-19 14:18:44 +01:00
|
|
|
---
|
|
|
|
project_name: wg-quicker
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2021-01-19 14:18:44 +01:00
|
|
|
builds:
|
2021-01-22 11:05:17 +01:00
|
|
|
- id: amd64
|
|
|
|
env:
|
2021-01-19 14:18:44 +01:00
|
|
|
- CGO_ENABLED=0
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2021-01-22 11:05:17 +01:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
ldflags:
|
|
|
|
- "-s"
|
|
|
|
- "-w"
|
|
|
|
- "-extldflags '-static'"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.version={{.Version}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.commit={{.ShortCommit}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
|
|
|
|
hooks:
|
|
|
|
pre:
|
2021-04-16 14:21:36 +02:00
|
|
|
- make wireguard-go GOARCH={{.Arch}}
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2021-01-22 11:05:17 +01:00
|
|
|
- id: arm64
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goarch:
|
2021-01-19 14:18:44 +01:00
|
|
|
- arm64
|
2021-01-22 11:05:17 +01:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
ldflags:
|
|
|
|
- "-s"
|
|
|
|
- "-w"
|
|
|
|
- "-extldflags '-static'"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.version={{.Version}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.commit={{.ShortCommit}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
|
|
|
|
hooks:
|
|
|
|
pre:
|
2021-04-16 14:21:36 +02:00
|
|
|
- make wireguard-go GOARCH={{.Arch}}
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2022-01-07 20:17:12 +01:00
|
|
|
- id: "386"
|
2021-01-22 11:05:17 +01:00
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goarch:
|
2022-01-07 20:17:12 +01:00
|
|
|
- "386"
|
2021-01-22 11:05:17 +01:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
ldflags:
|
|
|
|
- "-s"
|
|
|
|
- "-w"
|
|
|
|
- "-extldflags '-static'"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.version={{.Version}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.commit={{.ShortCommit}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
|
|
|
|
hooks:
|
|
|
|
pre:
|
2021-04-16 14:21:36 +02:00
|
|
|
- make wireguard-go GOARCH={{.Arch}}
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2021-01-22 11:05:17 +01:00
|
|
|
- id: arm-5
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goarch:
|
|
|
|
- arm
|
2021-01-19 14:18:44 +01:00
|
|
|
goarm:
|
2022-01-07 20:17:12 +01:00
|
|
|
- "5"
|
2021-01-19 14:18:44 +01:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
ldflags:
|
|
|
|
- "-s"
|
|
|
|
- "-w"
|
|
|
|
- "-extldflags '-static'"
|
2021-01-22 09:34:45 +01:00
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.version={{.Version}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.commit={{.ShortCommit}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
|
2021-01-19 14:18:44 +01:00
|
|
|
hooks:
|
|
|
|
pre:
|
2021-04-16 14:21:36 +02:00
|
|
|
- make wireguard-go GOARCH={{.Arch}} GOARM=5
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2021-01-22 11:05:17 +01:00
|
|
|
- id: arm-6
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goarch:
|
|
|
|
- arm
|
|
|
|
goarm:
|
2022-01-07 20:17:12 +01:00
|
|
|
- "6"
|
2021-01-22 11:05:17 +01:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
ldflags:
|
|
|
|
- "-s"
|
|
|
|
- "-w"
|
|
|
|
- "-extldflags '-static'"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.version={{.Version}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.commit={{.ShortCommit}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
|
|
|
|
hooks:
|
|
|
|
pre:
|
2021-04-16 14:21:36 +02:00
|
|
|
- make wireguard-go GOARCH={{.Arch}} GOARM=6
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2021-01-22 11:05:17 +01:00
|
|
|
- id: arm-7
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goarch:
|
|
|
|
- arm
|
|
|
|
goarm:
|
2022-01-07 20:17:12 +01:00
|
|
|
- "7"
|
2021-01-22 11:05:17 +01:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
ldflags:
|
|
|
|
- "-s"
|
|
|
|
- "-w"
|
|
|
|
- "-extldflags '-static'"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.version={{.Version}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.commit={{.ShortCommit}}"
|
|
|
|
- "-X go.xsfx.dev/wg-quicker/cmd.date={{.Date}}"
|
|
|
|
hooks:
|
|
|
|
pre:
|
2021-04-16 14:21:36 +02:00
|
|
|
- make wireguard-go GOARCH={{.Arch}} GOARM=7
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2021-01-19 14:18:44 +01:00
|
|
|
archives:
|
2021-05-11 14:33:41 +02:00
|
|
|
- format: tar.gz
|
2022-01-10 09:58:10 +01:00
|
|
|
id: tar.gz
|
2021-05-11 14:33:41 +02:00
|
|
|
replacements:
|
|
|
|
darwin: macos
|
|
|
|
|
|
|
|
- format: binary
|
|
|
|
id: binary-archive
|
|
|
|
replacements:
|
2021-01-19 14:18:44 +01:00
|
|
|
darwin: macos
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2021-01-19 14:18:44 +01:00
|
|
|
checksum:
|
|
|
|
name_template: "checksums.txt"
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2021-01-19 14:18:44 +01:00
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
2021-01-22 11:27:22 +01:00
|
|
|
|
2021-01-19 14:18:44 +01:00
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- "^docs:"
|
|
|
|
- "^test:"
|
2021-04-16 14:21:36 +02:00
|
|
|
- "^ci:"
|
|
|
|
- "^lint:"
|
2021-04-14 10:57:40 +02:00
|
|
|
- "^happy linting"
|
2021-01-27 09:50:04 +01:00
|
|
|
|
|
|
|
release:
|
|
|
|
github:
|
|
|
|
owner: xsteadfastx
|
|
|
|
name: wg-quicker
|
|
|
|
|
2021-01-19 14:18:44 +01:00
|
|
|
nfpms:
|
|
|
|
- formats:
|
|
|
|
- apk
|
|
|
|
- deb
|
|
|
|
- rpm
|
|
|
|
replacements:
|
|
|
|
386: i386
|
|
|
|
homepage: https://git.xsfx.dev/xsteadfastx/wg-quicker
|
|
|
|
maintainer: Marvin Preuss <marvin@xsteadfastx.org>
|
2021-03-08 09:17:06 +01:00
|
|
|
bindir: /usr/local/bin
|
|
|
|
contents:
|
|
|
|
- src: init/openrc/wg-quicker.init
|
|
|
|
dst: /etc/init.d/wg-quicker
|
|
|
|
packager: apk
|
|
|
|
file_info:
|
|
|
|
mode: 0755
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
- src: init/systemd/wg-quicker@.service
|
|
|
|
dst: /etc/systemd/system/wg-quicker@.service
|
|
|
|
packager: deb
|
|
|
|
- src: init/systemd/wg-quicker@.service
|
|
|
|
dst: /etc/systemd/system/wg-quicker@.service
|
|
|
|
packager: rpm
|
2021-01-27 09:50:04 +01:00
|
|
|
|
|
|
|
brews:
|
|
|
|
- name: wg-quicker
|
2022-01-10 09:45:39 +01:00
|
|
|
ids:
|
2022-01-10 09:58:10 +01:00
|
|
|
- tar.gz
|
2021-01-27 09:50:04 +01:00
|
|
|
tap:
|
|
|
|
owner: xsteadfastx
|
|
|
|
name: homebrew-tap
|
|
|
|
commit_author:
|
|
|
|
name: Marvin Steadfast
|
|
|
|
email: marvin@xsteadfastx.org
|
|
|
|
homepage: https://git.xsfx.dev/xsteadfastx/wg-quicker
|
2021-01-27 11:35:23 +01:00
|
|
|
install: |
|
|
|
|
bin.install "wg-quicker"
|
2021-01-27 09:50:04 +01:00
|
|
|
test: |
|
|
|
|
system "#{bin}/wg-quicker version"
|