github.com/kamilsk/grafaman@v1.0.0-beta3.0.20201207211242-3e0d02dd84ce/.goreleaser.yml (about) 1 --- 2 project_name: grafaman 3 4 archives: 5 - id: grafaman 6 files: 7 - LICENSE 8 format: tar.gz 9 name_template: "{{.Binary}}_{{.Version}}_{{.Os}}-{{.Arch}}" 10 replacements: 11 386: 32bit 12 amd64: 64bit 13 darwin: macOS 14 linux: Linux 15 16 brews: 17 - name: grafaman 18 caveats: 19 commit_author: 20 name: Kamil Samigullin 21 email: kamil@samigullin.info 22 description: Metrics coverage reporter for Graphite and Grafana. 23 folder: Formula 24 homepage: https://github.com/kamilsk/grafaman 25 github: 26 owner: kamilsk 27 name: homebrew-tap 28 install: | 29 bin.install "grafaman" 30 output = Utils.popen_read("#{bin}/grafaman completion bash") 31 (bash_completion/grafaman).write output 32 output = Utils.popen_read("#{bin}/grafaman completion zsh") 33 (zsh_completion/_grafaman).write output 34 prefix.install_metafiles 35 test: | 36 system "#{bin}/grafaman version" 37 38 builds: 39 - id: grafaman 40 binary: grafaman 41 env: 42 - CGO_ENABLED=0 43 flags: 44 - -trimpath 45 goarch: 46 - 386 47 - amd64 48 goos: 49 - darwin 50 - linux 51 ldflags: 52 - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} 53 main: . 54 55 checksum: { name_template: checksums.txt } 56 57 release: 58 github: 59 owner: kamilsk 60 name: grafaman