project_name: wtf release: github: owner: senorprogrammer name: wtf name_template: '{{.Tag}}' brew: name: wtf commit_author: name: goreleaserbot email: goreleaser@carlosbecker.com install: bin.install "wtf" scoop: commit_author: name: goreleaserbot email: goreleaser@carlosbecker.com builds: - goos: - darwin - linux goarch: - amd64 goarm: - "6" targets: - darwin_amd64 - linux_amd64 main: . ldflags: - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} binary: wtf lang: go archive: name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' format: tar.gz files: - licence* - LICENCE* - license* - LICENSE* - readme* - README* - changelog* - CHANGELOG* nfpm: name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' bindir: /usr/local/bin snapcraft: name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' snapshot: name_template: SNAPSHOT-{{ .Commit }} checksum: name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' dist: dist sign: cmd: gpg args: - --output - $signature - --detach-sig - $artifact signature: ${artifact}.sig artifacts: none env_files: github_token: ~/.config/goreleaser/github_token before: hooks: - make install github_urls: download: https://github.com