-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy path.goreleaser.yml
64 lines (59 loc) · 1.94 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
project_name: assemblyai
builds:
- binary: assemblyai
goos:
- linux
- darwin
- windows
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- 6
- 7
env:
- CGO_ENABLED=0
flags:
- -mod=vendor
ldflags:
- -X github.com/AssemblyAI/assemblyai-cli/utils.PH_TOKEN={{ .Env.POSTHOG_API_TOKEN }}
- -X github.com/AssemblyAI/assemblyai-cli/utils.SENTRY_DNS={{ .Env.SENTRY_DNS }}
- -X github.com/AssemblyAI/assemblyai-cli/cmd.VERSION={{ .Tag }}
release:
prerelease: auto
brews:
-
name: assemblyai
homepage: "https://www.assemblyai.com/"
description: "A quick and easy way to test assemblyAI's transcription features on your terminal"
license: "Apache 2.0"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
test: |
output = shell_output("#{bin}/assemblyai config 1234567890")
expected = "Invalid token. Try again, and if the problem persists, contact support at [email protected]"
assert_match expected, output
output = shell_output("#{bin}/assemblyai transcribe 1234567890")
assert_match "You must login first. Run `assemblyai config <token>`\n", output
output = shell_output("#{bin}/assemblyai get 1234567890")
assert_match "You must login first. Run `assemblyai config <token>`\n", output
tap:
owner: assemblyai
name: homebrew-assemblyai
commit_author:
name: assemblyai
email: [email protected]
scoop:
bucket:
owner: assemblyai
name: scoop-assemblyai
homepage: "https://www.assemblyai.com/"
commit_msg_template: "Scoop formula update for {{ .ProjectName }} version {{ .Tag }}"
description: "A quick and easy way to test assemblyAI's transcription features on your terminal"
license: "Apache 2.0"
commit_author:
name: assemblyai
email: [email protected]
checksum:
name_template: 'checksums.txt'