-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
57 lines (49 loc) · 1.2 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
builds:
- id: arm64
binary: trash
main: hack.go
goos:
- darwin
goarch:
- arm64
hooks:
pre:
- swift build -v -c release --arch arm64
post:
- cp .build/arm64-apple-macosx/release/trash dist/arm64_darwin_arm64/trash
- id: amd64
binary: trash
main: hack.go
goos:
- darwin
goarch:
- amd64
goamd64:
- v1
hooks:
pre:
- swift build -v -c release --arch x86_64
post:
- cp .build/x86_64-apple-macosx/release/trash dist/amd64_darwin_amd64_v1/trash
checksum:
name_template: 'checksums.txt'
archives:
- name_template: 'trash-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
brews:
- name: trash
description: Safely move items to macOS trash asynchronously
homepage: https://github.com/arbourd/trash
test: |
assert_match "trash, version #{version}", shell_output("#{bin}/trash --version")
conflicts:
- macos-trash
- trash
- trash-cli
directory: Formula
repository:
owner: arbourd
name: homebrew-tap
token: '{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}'
commit_author:
name: Dylan Arbour
email: [email protected]