Sam
8df0347891
All checks were successful
continuous-integration/drone/push Build is passing
also slight refactors :) closes #96 Co-authored-by: Sam Therapy <sam@samtherapy.net> Reviewed-on: #98 Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
81 lines
1.5 KiB
YAML
81 lines
1.5 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:
|
|
# 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 ./...
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
- freebsd
|
|
goarch:
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
ignore:
|
|
# Windows on ARM, maybe someday
|
|
- goos: windows
|
|
goarch: arm64
|
|
- goos: windows
|
|
goarch: arm
|
|
|
|
- goos: darwin
|
|
goarch: arm
|
|
- goos: freebsd
|
|
goarch: arm
|
|
|
|
universal_binaries:
|
|
- replace: true
|
|
|
|
archives:
|
|
-
|
|
files:
|
|
- LICENCE
|
|
- completions/**
|
|
replacements:
|
|
darwin: macOS
|
|
linux: Linux
|
|
windows: Windows
|
|
amd64: x86_64
|
|
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:"
|
|
|
|
gitea_urls:
|
|
api: https://git.froth.zone/api/v1/
|