github.com/wheelercj/pm2md@v0.0.11/.goreleaser.yaml (about) 1 # This is an example .goreleaser.yml file with some sensible defaults. 2 # Make sure to check the documentation at https://goreleaser.com 3 before: 4 hooks: 5 # You may remove this if you don't use go modules. 6 - go mod tidy 7 # you may remove this if you don't need go generate 8 - go generate ./... 9 builds: 10 - env: 11 - CGO_ENABLED=0 12 goos: 13 - linux 14 - windows 15 - darwin 16 17 archives: 18 - format: tar.gz 19 # this name template makes the OS and Arch compatible with the results of uname. 20 name_template: >- 21 {{ .ProjectName }}_ 22 {{- title .Os }}_ 23 {{- if eq .Arch "amd64" }}x86_64 24 {{- else if eq .Arch "386" }}i386 25 {{- else }}{{ .Arch }}{{ end }} 26 {{- if .Arm }}v{{ .Arm }}{{ end }} 27 # use zip for windows archives 28 format_overrides: 29 - goos: windows 30 format: zip 31 checksum: 32 name_template: 'checksums.txt' 33 snapshot: 34 name_template: "{{ incpatch .Version }}-next" 35 changelog: 36 sort: asc 37 filters: 38 exclude: 39 - '^docs:' 40 - '^test:' 41 42 # The lines beneath this are called `modelines`. See `:help modeline` 43 # Feel free to remove those if you don't want/use them. 44 # yaml-language-server: $schema=https://goreleaser.com/static/schema.json 45 # vim: set ts=2 sw=2 tw=0 fo=cnqoj