29 lines
750 B
YAML
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 |