Skip to content

Commit 6577805

Browse files
committed
Release darwin/arm64 binaries
Run golang 1.17 in the release job.
1 parent eaac3db commit 6577805

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.circleci/config.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ version: 2.1
33
orbs:
44
go: circleci/go@1
55

6+
references:
7+
go_version: &go_version '1.17'
8+
69
workflows:
710
test:
811
jobs:
@@ -33,6 +36,9 @@ workflows:
3336
jobs:
3437
test:
3538
parameters:
39+
go_version:
40+
type: string
41+
default: *go_version
3642
acceptance:
3743
type: string
3844
default: ''
@@ -53,8 +59,12 @@ jobs:
5359
packages: '-v ./...'
5460

5561
release:
62+
parameters:
63+
go_version:
64+
type: string
65+
default: *go_version
5666
docker:
57-
- image: circleci/golang:1.15
67+
- image: circleci/golang:<< parameters.go_version >>
5868
steps:
5969
- checkout
6070
- run:

.goreleaser.yml

-7
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,9 @@ builds:
99
goos:
1010
- linux
1111
- darwin
12-
# - windows
13-
# - freebsd
1412
goarch:
1513
- amd64
1614
- arm64
17-
# - arm
18-
# - '386'
19-
ignore:
20-
- goos: darwin
21-
goarch: '386'
2215
binary: '{{ .ProjectName }}_v{{ .Version }}'
2316
archives:
2417
- format: zip

0 commit comments

Comments
 (0)