Sam
add1ef61a2
All checks were successful
continuous-integration/drone/push Build is passing
This needs to be tested (preferably extensively), which I will do now Reviewed-on: #139 Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
103 lines
2.4 KiB
YAML
103 lines
2.4 KiB
YAML
# This is an example .goreleaser.yml file with some sensible defaults.
|
|
# Make sure to check the documentation at https://goreleaser.com
|
|
before:
|
|
hooks:
|
|
- make clean
|
|
# You may remove this if you don't use go modules.
|
|
- go mod tidy
|
|
# you may remove this if you don't need go generate
|
|
# - go generate ./...
|
|
- doc/makeman.sh
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
targets:
|
|
- go_first_class
|
|
- plan9_amd64
|
|
- freebsd_amd64
|
|
|
|
universal_binaries:
|
|
- replace: true
|
|
|
|
archives:
|
|
- files:
|
|
- LICENCE
|
|
- completions/**
|
|
- doc/awl.1.gz
|
|
replacements:
|
|
darwin: macOS
|
|
linux: Linux
|
|
windows: Windows
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
|
|
changelog:
|
|
sort: asc
|
|
|
|
groups:
|
|
- title: "Dependency Updates"
|
|
regexp: "^.*fix\\(deps\\)*:+.*$"
|
|
order: 2
|
|
- title: "Features"
|
|
regexp: "^.*feat[(\\w)]*:+.*$"
|
|
order: 0
|
|
- title: "Bug fixes"
|
|
regexp: "^.*fix[(\\w)]*:+.*$"
|
|
order: 1
|
|
- title: "Other"
|
|
order: 999
|
|
|
|
filters:
|
|
exclude:
|
|
- "SKIP CI"
|
|
- "^test:"
|
|
- "^docs?:"
|
|
- "typo"
|
|
- "^ci:"
|
|
|
|
nfpms:
|
|
- id: packages
|
|
maintainer: Sam <sam@samtherapy.net>
|
|
homepage: https://dns.froth.zone/awl
|
|
description: |-
|
|
Command-line DNS query tool.
|
|
Awl supports DNS-over-[UDP,TCP,HTTPS,QUIC] and DNSCrypt.
|
|
license: BSD 3 Clause
|
|
bindir: /usr/bin
|
|
section: utils
|
|
formats:
|
|
- deb
|
|
# - rpm
|
|
# - apk
|
|
contents:
|
|
- src: completions/bash.bash
|
|
dst: /usr/share/bash-completion/completions/awl
|
|
- src: completions/zsh.zsh
|
|
dst: /usr/share/zsh/vendor-completions/_awl
|
|
packager: deb
|
|
- src: completions/zsh.zsh
|
|
dst: /usr/share/zsh/site-functions/_awl
|
|
packager: apk
|
|
- src: completions/zsh.zsh
|
|
dst: /usr/share/zsh/site-functions/_awl
|
|
packager: rpm
|
|
- src: completions/fish.fish
|
|
dst: /usr/share/fish/vendor_completions.d/awl.fish
|
|
- src: doc/awl.1.gz
|
|
dst: /usr/share/man/man1/awl.1.gz
|
|
- src: LICENCE
|
|
dst: /usr/share/doc/awl/copyright
|
|
deb:
|
|
lintian_overrides:
|
|
- statically-linked-binary
|
|
- changelog-file-missing-in-native-package
|
|
|
|
gitea_urls:
|
|
api: https://git.froth.zone/api/v1/
|