File tree 2 files changed +20
-22
lines changed
2 files changed +20
-22
lines changed Original file line number Diff line number Diff line change 19
19
fetch-depth : 0
20
20
-
21
21
name : Install Node
22
- uses : actions/setup-node@v3
22
+ uses : actions/setup-node@v4
23
23
with :
24
24
cache-dependency-path : ' ui/yarn.lock'
25
25
node-version-file : ' ui/package.json'
@@ -32,15 +32,13 @@ jobs:
32
32
yarn run build
33
33
-
34
34
name : Install Go
35
- uses : actions/setup-go@v4
36
- with :
37
- go-version-file : ' go.mod'
35
+ uses : actions/setup-go@v5
38
36
-
39
37
name : Run GoReleaser
40
- uses : goreleaser/goreleaser-action@v2
38
+ uses : goreleaser/goreleaser-action@v6
41
39
with :
42
40
distribution : goreleaser
43
- version : latest
41
+ version : ' ~> v2 '
44
42
args : release --clean
45
43
env :
46
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
project_name : Paperboy
2
+ version : 2
2
3
3
4
builds :
4
5
- binary : paperboy
@@ -8,36 +9,35 @@ builds:
8
9
- windows
9
10
goarch :
10
11
- amd64
11
- - 386
12
- - arm
13
12
- arm64
14
13
goarm :
15
14
- 7
16
- tags : ['{{ if .Env. BUILD_WITH_UI }}withUI{{ else }}noUI{{ end }}']
17
- ignore :
18
- - goos : darwin
19
- goarch : 386
15
+ tags : ['{{ if index .Env " BUILD_WITH_UI" }}withUI{{ else }}noUI{{ end }}']
16
+
17
+ universal_binaries :
18
+ - replace : true
20
19
21
20
archives :
22
21
- format : tar.gz
23
22
wrap_in_directory : false
24
23
format_overrides :
25
24
- goos : windows
26
25
format : zip
27
- replacements :
28
- amd64 : 64bit
29
- 386 : 32bit
30
- arm : ARM
31
- arm64 : ARM64
32
- darwin : macOS
33
- linux : Linux
34
- windows : Windows
26
+ name_template : >-
27
+ {{- .ProjectName }}_{{ .Version }}_
28
+ {{- if eq .Os "darwin" }}macOS
29
+ {{- else }}{{- title .Os }}{{ end }}_
30
+ {{- if eq .Arch "all" }}universal
31
+ {{- else if eq .Arch "amd64" }}x86_64
32
+ {{- else if eq .Arch "386" }}i386
33
+ {{- else }}{{ .Arch }}{{ end }}
34
+ {{- if .Arm }}v{{ .Arm }}{{ end -}}
35
35
36
36
checksum :
37
- name_template : ' checksums. txt'
37
+ name_template : " {{ .ProjectName }}_{{ .Version }}_checksums. txt"
38
38
39
39
changelog :
40
- skip : true
40
+ disable : true
41
41
42
42
release :
43
43
draft : true
You can’t perform that action at this time.
0 commit comments