32 lines
674 B
YAML
32 lines
674 B
YAML
version: 2
|
|
|
|
project_name: domainops
|
|
|
|
builds:
|
|
- id: domainops
|
|
main: ./cmd/domainops
|
|
binary: domainops
|
|
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}}
|
|
|
|
archives:
|
|
- formats: [tar.gz]
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
|
|
checksum:
|
|
name_template: checksums.txt
|
|
|
|
changelog:
|
|
sort: asc
|