File tree Expand file tree Collapse file tree 3 files changed +32
-9
lines changed Expand file tree Collapse file tree 3 files changed +32
-9
lines changed Original file line number Diff line number Diff line change 5
5
* .so
6
6
* .dylib
7
7
bin
8
+ dist
8
9
9
10
# environment variables
10
11
.envrc
Original file line number Diff line number Diff line change 1
1
before :
2
2
hooks :
3
3
- go mod tidy
4
+
4
5
builds :
5
- - main : ./cmd/server
6
+ - id : server
7
+ main : ./cmd/server
6
8
binary : server
7
9
env :
8
10
- CGO_ENABLED=0
@@ -13,35 +15,55 @@ builds:
13
15
- arm64
14
16
- amd64
15
17
- 386
16
- output :
17
- dir : dist/{{ .Os }}/{{ .Arch }}
18
18
19
- - main : ./cmd/client
19
+ - id : client
20
+ main : ./cmd/client
20
21
binary : client
21
22
env :
22
23
- CGO_ENABLED=0
23
24
goos :
24
25
- linux
25
26
- darwin
26
27
goarch :
28
+ - arm64
27
29
- amd64
28
30
- 386
29
- output :
30
- dir : dist/{{ .Os }}/{{ .Arch }}
31
31
32
32
archives :
33
- - format : tar.gz
33
+ - id : server_archive
34
+ builds :
35
+ - server
36
+ format : tar.gz
37
+ name_template : >-
38
+ server_
39
+ {{- title .Os }}_
40
+ {{- if eq .Arch "amd64" }}x86_64
41
+ {{- else if eq .Arch "386" }}i386
42
+ {{- else }}{{ .Arch }}{{ end }}
43
+ {{- if .Arm }}v{{ .Arm }}{{ end }}
44
+ files :
45
+ - server
46
+
47
+ - id : client_archive
48
+ builds :
49
+ - client
50
+ format : tar.gz
34
51
name_template : >-
35
- {{ .ProjectName }}_
52
+ client_
36
53
{{- title .Os }}_
37
54
{{- if eq .Arch "amd64" }}x86_64
38
55
{{- else if eq .Arch "386" }}i386
39
56
{{- else }}{{ .Arch }}{{ end }}
40
57
{{- if .Arm }}v{{ .Arm }}{{ end }}
58
+ files :
59
+ - client
60
+
41
61
checksum :
42
62
name_template : ' checksums.txt'
63
+
43
64
snapshot :
44
65
name_template : " {{ incpatch .Version }}-next"
66
+
45
67
changelog :
46
68
sort : asc
47
69
filters :
Original file line number Diff line number Diff line change 42
42
# Running this project
43
43
44
44
## 1. Download the binaries
45
- Download and unpack the server and client binaries from the [ releases] ( https://github.com/creativecreature/sturdyc/releases ) .
45
+ Download and unpack the server ** and** client binaries from the [ releases] ( https://github.com/creativecreature/sturdyc/releases ) .
46
46
Next, you'll want to make sure that they are reachable from your ` $PATH ` .
47
47
48
48
## 2. Create a configuration file
You can’t perform that action at this time.
0 commit comments