Skip to content

Commit f680f7f

Browse files
authored
feat(release): update goreleaser config to v2 and support darwin binaries (#781)
* chore(release): update to goreleaser config v2, build darwin binaries * chore(deps): update server-sdk-go * chore(release): update goreleaser action
1 parent 75fcdfc commit f680f7f

File tree

4 files changed

+62
-56
lines changed

4 files changed

+62
-56
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
go-version: "1.25"
8585

8686
- name: Run GoReleaser
87-
uses: goreleaser/goreleaser-action@v6
87+
uses: goreleaser/goreleaser-action@v7
8888
with:
8989
distribution: goreleaser
9090
version: latest

.goreleaser.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
version: 2
16+
1517
before:
1618
hooks:
1719
- go mod tidy
@@ -30,13 +32,17 @@ builds:
3032
goos:
3133
- linux
3234
- windows
35+
- darwin
36+
ignore:
37+
- goos: windows
38+
goarch: arm
3339
ldflags:
3440
- -s -w
3541
archives:
3642
- name_template: "lk_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3743
format_overrides:
3844
- goos: windows
39-
format: zip
45+
formats: [zip]
4046
files:
4147
- LICENSE
4248
- 'autocomplete/*'
@@ -57,4 +63,4 @@ gomod:
5763
checksum:
5864
name_template: 'checksums.txt'
5965
snapshot:
60-
name_template: "{{ incpatch .Version }}-next"
66+
version_template: "{{ incpatch .Version }}-next"

go.mod

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ require (
1212
github.com/go-logr/logr v1.4.3
1313
github.com/go-task/task/v3 v3.44.1
1414
github.com/joho/godotenv v1.5.1
15-
github.com/livekit/protocol v1.44.1-0.20260223200831-a71190b6850a
16-
github.com/livekit/server-sdk-go/v2 v2.13.4-0.20260223172816-77b4264bca63
15+
github.com/livekit/protocol v1.45.0
16+
github.com/livekit/server-sdk-go/v2 v2.14.0
1717
github.com/mattn/go-isatty v0.0.20
1818
github.com/moby/patternmatcher v0.6.0
1919
github.com/pelletier/go-toml v1.9.5
2020
github.com/pion/rtcp v1.2.16
2121
github.com/pion/rtp v1.10.1
22-
github.com/pion/webrtc/v4 v4.2.6
22+
github.com/pion/webrtc/v4 v4.2.9
2323
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
2424
github.com/pkg/errors v0.9.1
2525
github.com/stretchr/testify v1.11.1
@@ -35,7 +35,7 @@ require (
3535

3636
require (
3737
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.11-20260209202127-80ab13bee0bf.1 // indirect
38-
buf.build/go/protovalidate v1.1.2 // indirect
38+
buf.build/go/protovalidate v1.1.3 // indirect
3939
buf.build/go/protoyaml v0.6.0 // indirect
4040
cel.dev/expr v0.25.1 // indirect
4141
dario.cat/mergo v1.0.2 // indirect
@@ -113,7 +113,7 @@ require (
113113
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
114114
github.com/lithammer/shortuuid/v4 v4.2.0 // indirect
115115
github.com/livekit/mageutil v0.0.0-20250511045019-0f1ff63f7731 // indirect
116-
github.com/livekit/mediatransportutil v0.0.0-20251128105421-19c7a7b81c22 // indirect
116+
github.com/livekit/mediatransportutil v0.0.0-20260113174415-2e8ba344fca3 // indirect
117117
github.com/livekit/psrpc v0.7.1 // indirect
118118
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
119119
github.com/magefile/mage v1.15.0 // indirect
@@ -129,20 +129,20 @@ require (
129129
github.com/muesli/cancelreader v0.2.2 // indirect
130130
github.com/muesli/termenv v0.16.0 // indirect
131131
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
132-
github.com/nats-io/nats.go v1.48.0 // indirect
132+
github.com/nats-io/nats.go v1.49.0 // indirect
133133
github.com/nats-io/nkeys v0.4.15 // indirect
134134
github.com/nats-io/nuid v1.0.1 // indirect
135135
github.com/opencontainers/go-digest v1.0.0 // indirect
136136
github.com/opencontainers/image-spec v1.1.1 // indirect
137137
github.com/pion/datachannel v1.6.0 // indirect
138138
github.com/pion/dtls/v3 v3.1.2 // indirect
139-
github.com/pion/ice/v4 v4.2.0 // indirect
139+
github.com/pion/ice/v4 v4.2.1 // indirect
140140
github.com/pion/interceptor v0.1.44 // indirect
141141
github.com/pion/logging v0.2.4 // indirect
142142
github.com/pion/mdns/v2 v2.1.0 // indirect
143143
github.com/pion/randutil v0.1.0 // indirect
144144
github.com/pion/sctp v1.9.2 // indirect
145-
github.com/pion/sdp/v3 v3.0.17 // indirect
145+
github.com/pion/sdp/v3 v3.0.18 // indirect
146146
github.com/pion/srtp/v3 v3.0.10 // indirect
147147
github.com/pion/stun/v3 v3.1.1 // indirect
148148
github.com/pion/transport/v4 v4.0.1 // indirect
@@ -155,7 +155,7 @@ require (
155155
github.com/prometheus/common v0.66.1 // indirect
156156
github.com/prometheus/procfs v0.19.2 // indirect
157157
github.com/puzpuzpuz/xsync/v3 v3.5.1 // indirect
158-
github.com/redis/go-redis/v9 v9.17.2 // indirect
158+
github.com/redis/go-redis/v9 v9.18.0 // indirect
159159
github.com/rivo/uniseg v0.4.7 // indirect
160160
github.com/sajari/fuzzy v1.0.0 // indirect
161161
github.com/secure-systems-lab/go-securesystemslib v0.9.1 // indirect
@@ -177,25 +177,25 @@ require (
177177
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 // indirect
178178
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.61.0 // indirect
179179
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
180-
go.opentelemetry.io/otel v1.40.0 // indirect
180+
go.opentelemetry.io/otel v1.41.0 // indirect
181181
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.39.0 // indirect
182-
go.opentelemetry.io/otel/metric v1.40.0 // indirect
183-
go.opentelemetry.io/otel/sdk v1.39.0 // indirect
184-
go.opentelemetry.io/otel/trace v1.40.0 // indirect
182+
go.opentelemetry.io/otel/metric v1.41.0 // indirect
183+
go.opentelemetry.io/otel/sdk v1.40.0 // indirect
184+
go.opentelemetry.io/otel/trace v1.41.0 // indirect
185185
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
186186
go.uber.org/multierr v1.11.0 // indirect
187187
go.uber.org/zap v1.27.1 // indirect
188188
go.uber.org/zap/exp v0.3.0 // indirect
189189
go.yaml.in/yaml/v2 v2.4.2 // indirect
190190
golang.org/x/crypto v0.48.0 // indirect
191-
golang.org/x/exp v0.0.0-20260212183809-81e46e3db34a // indirect
191+
golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa // indirect
192192
golang.org/x/mod v0.33.0 // indirect
193-
golang.org/x/net v0.50.0 // indirect
193+
golang.org/x/net v0.51.0 // indirect
194194
golang.org/x/sys v0.41.0 // indirect
195195
golang.org/x/term v0.40.0 // indirect
196196
golang.org/x/text v0.34.0 // indirect
197-
google.golang.org/genproto/googleapis/api v0.0.0-20260209200024-4cfbd4190f57 // indirect
198-
google.golang.org/genproto/googleapis/rpc v0.0.0-20260209200024-4cfbd4190f57 // indirect
197+
google.golang.org/genproto/googleapis/api v0.0.0-20260226221140-a57be14db171 // indirect
198+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260226221140-a57be14db171 // indirect
199199
google.golang.org/grpc v1.79.1 // indirect
200200
gopkg.in/inf.v0 v0.9.1 // indirect
201201
gopkg.in/warnings.v0 v0.1.2 // indirect

0 commit comments

Comments
 (0)