Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb97f37b

Browse files
committed
fix: Update buildinfo package location in ldflags (#1208)
This was causing the version to not be injected!
1 parent5581324 commitb97f37b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎.goreleaser.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ builds:
2929
-id:coder-slim
3030
dir:cmd/coder
3131
ldflags:
32-
["-s -w -X github.com/coder/coder/cli/buildinfo.tag={{ .Version }}"]
32+
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
3333
env:[CGO_ENABLED=0]
3434
goos:[darwin, linux, windows]
3535
goarch:[amd64]
@@ -42,7 +42,7 @@ builds:
4242
dir:cmd/coder
4343
flags:[-tags=embed]
4444
ldflags:
45-
["-s -w -X github.com/coder/coder/cli/buildinfo.tag={{ .Version }}"]
45+
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
4646
env:[CGO_ENABLED=0]
4747
goos:[linux]
4848
goarch:[amd64, arm64]
@@ -51,7 +51,7 @@ builds:
5151
dir:cmd/coder
5252
flags:[-tags=embed]
5353
ldflags:
54-
["-s -w -X github.com/coder/coder/cli/buildinfo.tag={{ .Version }}"]
54+
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
5555
env:[CGO_ENABLED=0]
5656
goos:[windows]
5757
goarch:[amd64, arm64]
@@ -60,7 +60,7 @@ builds:
6060
dir:cmd/coder
6161
flags:[-tags=embed]
6262
ldflags:
63-
["-s -w -X github.com/coder/coder/cli/buildinfo.tag={{ .Version }}"]
63+
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
6464
env:[CGO_ENABLED=0]
6565
goos:[darwin]
6666
goarch:[amd64, arm64]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp