logginghandler/vendor/github.com/kyoh86/exportloopref/.goreleaser.yml
Marvin Preuss d095180eb4
All checks were successful
continuous-integration/drone/push Build is passing
build: uses go modules for tool handling
2022-01-14 13:51:56 +01:00

44 lines
930 B
YAML

project_name: exportloopref
release:
github:
owner: kyoh86
name: exportloopref
brews:
- install: |
bin.install "exportloopref"
github:
owner: kyoh86
name: homebrew-tap
folder: Formula
homepage: https://github.com/kyoh86/exportloopref
description: An analyzer that finds exporting pointers for loop variables.
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
- "386"
main: ./cmd/exportloopref
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: exportloopref
archives:
- id: gzip
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}