github.com/datreeio/datree@v1.9.22-rc/.goreleaser.yml (about) 1 # This is an example .goreleaser.yml file with some sane defaults. 2 # Make sure to check the documentation at http://goreleaser.com 3 project_name: datree-cli 4 release: 5 prerelease: auto 6 7 before: 8 hooks: 9 # you may remove this if you don't need go generate 10 - go generate ./... 11 builds: 12 - env: 13 - CGO_ENABLED=0 14 binary: datree 15 id: datree 16 goos: 17 - linux 18 - windows 19 main: ./main.go 20 flags: 21 - -tags={{.Env.GO_BUILD_TAG}} 22 ldflags: 23 - -X github.com/datreeio/datree/cmd.CliVersion={{.Env.DATREE_BUILD_VERSION}} 24 - env: 25 - CGO_ENABLED=0 26 binary: datree 27 id: datree-macos 28 goos: 29 - darwin 30 goarch: 31 - amd64 32 - arm 33 - arm64 34 targets: 35 - darwin_arm64 36 - darwin_amd64 37 main: ./main.go 38 flags: 39 - -tags={{.Env.GO_BUILD_TAG}} 40 ldflags: 41 - -X github.com/datreeio/datree/cmd.CliVersion={{.Env.DATREE_BUILD_VERSION}} 42 archives: 43 - replacements: 44 darwin: Darwin 45 linux: Linux 46 amd64: x86_64 47 format: zip 48 id: datree-zip 49 checksum: 50 name_template: "checksums.txt" 51 snapshot: 52 name_template: "{{ .Tag }}-next" 53 changelog: 54 sort: asc 55 filters: 56 exclude: 57 - "^docs:" 58 - "^test:"