77 lines
1.3 KiB
YAML
77 lines
1.3 KiB
YAML
# 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}}"
|