gitlab.com/sparetimecoders/build-tools@v0.1.0/.goreleaser.yml (about) 1 # This is an example goreleaser.yaml file with some sane defaults. 2 # Make sure to check the documentation at http://goreleaser.com 3 env: 4 - CGO_ENABLED=0 5 builds: 6 - 7 id: build 8 9 main: ./cmd/build/build.go 10 binary: build 11 12 flags: 13 - -tags=prod 14 15 ldflags: 16 - -s -w 17 18 goos: 19 - linux 20 - darwin 21 goarch: 22 - amd64 23 24 - 25 id: push 26 27 main: ./cmd/push/push.go 28 binary: push 29 30 flags: 31 - -tags=prod 32 33 ldflags: 34 - -s -w 35 36 goos: 37 - linux 38 - darwin 39 goarch: 40 - amd64 41 42 - 43 id: deploy 44 45 main: ./cmd/deploy/deploy.go 46 binary: deploy 47 48 flags: 49 - -tags=prod 50 51 ldflags: 52 - -s -w 53 54 goos: 55 - linux 56 - darwin 57 58 goarch: 59 - amd64 60 dockers: 61 - 62 goos: linux 63 64 goarch: amd64 65 66 dockerfile: Dockerfile 67 68 binaries: 69 - build 70 - push 71 - deploy 72 73 image_templates: 74 - "sparetimecoders/build-tools:latest" 75 - "sparetimecoders/build-tools:{{ .Tag }}" 76 77 brews: 78 - 79 name: build-tools 80 81 github: 82 owner: sparetimecoders 83 name: homebrew-taps 84 85 folder: Formula 86 87 archives: 88 - replacements: 89 darwin: Darwin 90 linux: Linux 91 windows: Windows 92 386: i386 93 amd64: x86_64 94 checksum: 95 name_template: 'checksums.txt' 96 snapshot: 97 name_template: "{{ .Tag }}-next" 98 changelog: 99 sort: asc 100 filters: 101 exclude: 102 - '^docs:' 103 - '^test:'