Skip to content

Commit a2577c8

Browse files
authored
fix build 32-bit machine constant overflow (#1500)
* fix build 32-bit machine constant overflow * update goreleaser
1 parent 00c02a9 commit a2577c8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.goreleaser.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ builds:
2121
goos:
2222
- linux
2323
- darwin
24+
goarch:
25+
- amd64
26+
- arm64
2427
ldflags:
2528
- -s -w
2629
- -X github.com/easegress-io/easegress/v2/pkg/version.RELEASE={{ .Tag }}
@@ -35,6 +38,9 @@ builds:
3538
goos:
3639
- linux
3740
- darwin
41+
goarch:
42+
- amd64
43+
- arm64
3844
ldflags:
3945
- -s -w
4046
- -X github.com/easegress-io/easegress/v2/pkg/version.RELEASE={{ .Tag }}
@@ -49,6 +55,9 @@ builds:
4955
goos:
5056
- linux
5157
- darwin
58+
goarch:
59+
- amd64
60+
- arm64
5261
ldflags:
5362
- -s -w
5463
- -X github.com/easegress-io/easegress/v2/pkg/version.RELEASE={{ .Tag }}

0 commit comments

Comments
 (0)