ding/.goreleaser.yaml
adrien 1d7c7fba86
All checks were successful
goreleaser / goreleaser (push) Successful in 56s
First commit
2023-07-01 16:17:20 +02:00

29 lines
750 B
YAML

builds:
- main: ./cmd/ding/
goos:
- linux
goarch:
- amd64
ldflags:
- -s -w -X gitea.illuad.fr/adrien/ding/cli.version={{.Version}} -X gitea.illuad.fr/adrien/ding/cli.commit={{.Commit}}
buildmode: pie
no_unique_dist_dir: true
archives:
- format: binary
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"
algorithm: sha512
extra_files:
- glob: ./LICENSE
- glob: ./README.md
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
sboms:
- artifacts: archive
gitea_urls:
api: https://gitea.illuad.fr/api/v1
download: https://gitea.illuad.fr
skip_tls_verify: false