-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
64 lines (57 loc) Β· 1.37 KB
/
.goreleaser.yml
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
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ldflags:
- -s -w
- -X main.appVersion={{.Version}}
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
brews:
- name: gomi-rename
tap:
owner: arrow2nd
name: homebrew-tap
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
url_template: "https://github.com/arrow2nd/gomi-rename/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
folder: Formula
homepage: "https://github.com/arrow2nd/gomi-rename"
description: "CLI tool to rename trashy file names"
license: "MIT"
test: |
system "#{bin}/gomi-rename -v"
install: |
bin.install "gomi-rename"
scoop:
bucket:
owner: arrow2nd
name: scoop-bucket
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
url_template: "https://github.com/arrow2nd/gomi-rename/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: "https://arrow2nd.com/works/gomi-rename"
description: "CLI tool for renaming to hellish file names"
license: "MIT"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"