initial commit

This commit is contained in:
2026-04-07 17:41:25 +02:00
commit 1ed9bdfa55
45 changed files with 4712 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
project_name: protonvpn-wg-confgen
before:
hooks:
- go mod tidy
builds:
- id: protonvpn-wg-confgen
main: ./cmd/protonvpn-wg
binary: protonvpn-wg-confgen
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- arm
goarm:
- "7"
ignore:
# Windows ARM (32-bit) not commonly used
- goos: windows
goarch: arm
# macOS ARM (32-bit) doesn't exist
- goos: darwin
goarch: arm
ldflags:
- -s -w
archives:
- id: default
formats:
- tar.gz
format_overrides:
- goos: windows
formats:
- zip
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
files:
- README.md
- LICENSE
checksum:
name_template: "checksums.txt"
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^chore:"
- Merge pull request
- Merge branch
release:
github:
owner: '{{ envOrDefault "GITHUB_REPOSITORY_OWNER" "" }}'
name: protonvpn-wg-confgen
draft: false
prerelease: auto
mode: replace
name_template: "v{{.Version}}"