1234567891011121314151617181920212223242526272829303132333435363738 |
- # 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
- builds:
- - env:
- - CGO_ENABLED=0
- goos:
- - linux
- - windows
- - darwin
- archives:
- -
- replacements:
- darwin: Darwin
- linux: Linux
- windows: Windows
- 386: i386
- amd64: x86_64
- files:
- - src: 'html/*'
- dst: html
- strip_parent: true
- - src: 'static/*'
- dst: static
- strip_parent: true
- checksum:
- name_template: 'checksums.txt'
- snapshot:
- name_template: "{{ incpatch .Version }}-next"
- changelog:
- sort: asc
- filters:
- exclude:
- - '^docs:'
- - '^test:'
|