forked from bricks-cloud/BricksLLM
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
58 lines (53 loc) · 1.88 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
builds:
- id: bricksllm
main: cmd/bricksllm/main.go
binary: bricksllm
goos: [windows, linux]
goarch: [amd64]
goarm: ["6", "7"]
env:
- CGO_ENABLED=0
- binary: bricksllm
main: cmd/bricksllm/main.go
id: bricksllm-macos-arm
goos: [darwin]
goarch: [arm64]
hooks:
post:
- output: true
cmd: 'codesign --timestamp --options=runtime -s "Developer ID Application: Yuanxin Lu" -v {{ .Path }}'
- output: true
cmd: zip -j "{{ .Path }}_{{ .Version }}_darwin_arm64_notarized.zip" "{{ .Path }}"
- output: true
cmd: xcrun notarytool submit "{{ .Path }}_{{ .Version }}_darwin_arm64_notarized.zip" --apple-id "{{ .Env.APPLE_DEVELOPER_USERNAME }}" --team-id "{{ .Env.APPLE_DEVELOPER_TEAM_ID }}" --password "{{ .Env.APPLE_DEVELOPER_PASSWORD }}" --progress --wait
- binary: bricksllm
main: cmd/bricksllm/main.go
id: bricksllm-macos-amd
goos: [darwin]
goarch: [amd64]
hooks:
post:
- output: true
cmd: 'codesign --timestamp --options=runtime -s "Developer ID Application: Yuanxin Lu" -v {{ .Path }}'
- output: true
cmd: zip -j "{{ .Path }}_{{ .Version }}_darwin_amd64_notarized.zip" "{{ .Path }}"
- output: true
cmd: xcrun notarytool submit "{{ .Path }}_{{ .Version }}_darwin_amd64_notarized.zip" --apple-id "{{ .Env.APPLE_DEVELOPER_USERNAME }}" --team-id "{{ .Env.APPLE_DEVELOPER_TEAM_ID }}" --password "{{ .Env.APPLE_DEVELOPER_PASSWORD }}" --progress --wait
archives:
- id: bricksllm
builds: [bricksllm, bricksllm-macos-amd, bricksllm-macos-arm]
files:
- README.md
- CHANGELOG.md
- LICENSE
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
dist: target/dist
release:
github:
owner: bricks-cloud
name: bricksLLM
prerelease: auto