Skip to content

Commit 741d9cd

Browse files
committed
fix license mismatch
1 parent 2d91857 commit 741d9cd

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.goreleaser.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,17 @@ before:
2828
builds:
2929
- id: coder-slim
3030
dir: cmd/coder
31-
ldflags:
32-
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
31+
ldflags: ["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
3332
env: [CGO_ENABLED=0]
3433
goos: [darwin, linux, windows]
3534
goarch: [amd64, arm, arm64]
3635
goarm: ["7"]
3736
# Only build arm 7 for Linux
3837
ignore:
3938
- goos: windows
40-
goarm: '7'
39+
goarm: "7"
4140
- goos: darwin
42-
goarm: '7'
41+
goarm: "7"
4342
hooks:
4443
# The "trimprefix" appends ".exe" on Windows.
4544
post: |
@@ -48,8 +47,7 @@ builds:
4847
- id: coder-linux
4948
dir: cmd/coder
5049
flags: [-tags=embed]
51-
ldflags:
52-
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
50+
ldflags: ["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
5351
env: [CGO_ENABLED=0]
5452
goos: [linux]
5553
goarch: [amd64, arm, arm64]
@@ -58,24 +56,22 @@ builds:
5856
- id: coder-windows
5957
dir: cmd/coder
6058
flags: [-tags=embed]
61-
ldflags:
62-
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
59+
ldflags: ["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
6360
env: [CGO_ENABLED=0]
6461
goos: [windows]
6562
goarch: [amd64, arm64]
6663

6764
- id: coder-darwin
6865
dir: cmd/coder
6966
flags: [-tags=embed]
70-
ldflags:
71-
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
67+
ldflags: ["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
7268
env: [CGO_ENABLED=0]
7369
goos: [darwin]
7470
goarch: [amd64, arm64]
7571
hooks:
7672
# This signs the binary that will be located inside the zip.
7773
# MacOS requires the binary to be signed for notarization.
78-
#
74+
#
7975
# If it doesn't successfully sign, the zip sign step will error.
8076
post: |
8177
sh -c 'codesign -s {{.Env.AC_APPLICATION_IDENTITY}} -f -v --timestamp --options runtime {{.Path}} || true'
@@ -120,7 +116,7 @@ dockers:
120116
- --label=org.opencontainers.image.source=https://github.com/coder/coder
121117
- --label=org.opencontainers.image.version={{ .Version }}
122118
- --label=org.opencontainers.image.revision={{ .FullCommit }}
123-
- --label=org.opencontainers.image.licenses=MIT
119+
- --label=org.opencontainers.image.licenses=AGPL-3.0
124120
- image_templates: ["ghcr.io/coder/coder:{{ .Tag }}-arm64"]
125121
goarch: arm64
126122
dockerfile: Dockerfile

0 commit comments

Comments
 (0)