github.com/omnigres/cli@v0.1.4/.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 4 # The lines below are called `modelines`. See `:help modeline` 5 # Feel free to remove those if you don't want/need to use them. 6 # yaml-language-server: $schema=https://goreleaser.com/static/schema.json 7 # vim: set ts=2 sw=2 tw=0 fo=cnqoj 8 9 version: 2 10 11 builds: 12 - env: 13 - CGO_ENABLED=0 14 main: ./cmd/omnigres/ 15 binary: bin/omnigres 16 goos: 17 - linux 18 - windows 19 - darwin 20 21 archives: 22 - formats: [tar.gz] 23 # this name template makes the OS and Arch compatible with the results of `uname`. 24 name_template: >- 25 omnigres_cli_ 26 {{- title .Os }}_ 27 {{- if eq .Arch "amd64" }}x86_64 28 {{- else if eq .Arch "386" }}i386 29 {{- else }}{{ .Arch }}{{ end }} 30 {{- if .Arm }}v{{ .Arm }}{{ end }} 31 # use zip for windows archives 32 format_overrides: 33 - goos: windows 34 formats: [zip] 35 36 changelog: 37 sort: asc 38 filters: 39 exclude: 40 - "^docs:" 41 - "^test:" 42 43 release: 44 footer: >- 45 46 --- 47 48 Released by [GoReleaser](https://github.com/goreleaser/goreleaser).