-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
71 lines (65 loc) · 1.69 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: 2
before:
hooks:
- go mod tidy
builds:
- id: eatme
binary: eatme
dir: cmd/eatme
ldflags: "-s -w -X main.revision={{.Tag}}-{{.ShortCommit}}-{{.CommitDate}}"
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm
- arm64
ignore:
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: arm64
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
brews:
- name: eatme
repository:
owner: kulapard
name: homebrew-tap
branch: master
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_author:
name: Taras Drapalyuk
email: taras@drapalyuk.com
commit_msg_template: "Brew formula update for `{{ .ProjectName }}` version `{{ .Tag }}`"
directory: Formula
homepage: "https://github.com/kulapard/go-eatme"
description: "Simple tool to manage multiple git/hg repositories at once. It goes through all subdirectories recursively and concurrently execute specified command in all af them."
license: "MIT"
test: |
system "#{bin}/eatme branch"
archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{.ProjectName}}_
{{- .Tag}}_
{{- if eq .Os "darwin"}}macos
{{- else if eq .Os "windows"}}win
{{- else}}{{.Os}}{{end}}_
{{- if eq .Arch "amd64"}}x86_64
{{- else if eq .Arch "386"}}i386
{{- else}}{{.Arch}}{{end}}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
changelog:
sort: asc
checksum:
name_template: 'checksums.txt'