Files
domainops/.goreleaser.yml

49 lines
967 B
YAML

version: 2
project_name: domainops
builds:
- id: domainops
main: ./cmd/domainops
binary: domainops
flags:
- -trimpath
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X github.com/MeghdadFadaee/domainops/internal/buildinfo.Version={{.Version}}
- -X github.com/MeghdadFadaee/domainops/internal/buildinfo.Commit={{.Commit}}
- -X github.com/MeghdadFadaee/domainops/internal/buildinfo.Date={{.Date}}
mod_timestamp: "{{ .CommitTimestamp }}"
archives:
- formats: [tar.gz]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE*
- README.md
- CHANGELOG.md
- THIRD_PARTY_LICENSES/**/*
checksum:
name_template: checksums.txt
changelog:
sort: asc
use: github
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'
release:
prerelease: auto