forked from kvinwang/dstack-mr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
80 lines (66 loc) · 1.35 KB
/
.goreleaser.yaml
File metadata and controls
80 lines (66 loc) · 1.35 KB
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
72
73
74
75
76
77
78
79
80
version: 2
project_name: dstack-mr-gcp
env:
- CGO_ENABLED=0
builds:
- id: dstack-mr-gcp-linux-amd64
main: .
binary: dstack-mr-gcp
goos:
- linux
goarch:
- amd64
flags:
- -mod=readonly
- -trimpath
ldflags:
- -X main.Version={{ .Version }}
- -X main.Commit={{ .Commit }}
- -w -s
- id: dstack-mr-gcp-linux-arm64
main: .
binary: dstack-mr-gcp
goos:
- linux
goarch:
- arm64
flags:
- -mod=readonly
- -trimpath
ldflags:
- -X main.Version={{ .Version }}
- -X main.Commit={{ .Commit }}
- -w -s
archives:
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
files:
- LICENSE*
- README*
checksum:
name_template: "sha256sum.txt"
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
github:
owner: flashbots
name: dstack-mr-gcp
replace_existing_draft: true
header: |
## dstack-mr-gcp {{ .Version }}
<RELEASE NOTES>
### Binaries
Binaries for Linux (amd64 and arm64) are available below.
### Build from source
```bash
git clone https://github.com/flashbots/dstack-mr-gcp
cd dstack-mr-gcp && git checkout {{ .Tag }}
make build
```
name_template: "v{{ .Version }}"
mode: replace
draft: true