Skip to content

Commit 50cfb63

Browse files
committed
ci: trim whitespace, fix blob key
1 parent b5fb2fa commit 50cfb63

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.goreleaser.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ blobs:
7777
if: '{{ not (contains .ArtifactName ".msi.sig" )}}'
7878
region: us-east-2
7979
bucket: dbc-distribution
80-
directory: "{{ .Tag }}"
80+
directory: "{{ .Version }}"
8181
include_meta: true
8282

8383
binary_signs:
@@ -86,7 +86,7 @@ binary_signs:
8686
if: '{{ ne .Os "windows" }}'
8787
signature: '${artifact}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}.sig'
8888
args: ["--output", "${signature}", "-u", "[email protected]", "--detach-sign", "${artifact}"]
89-
stdin: "{{ .Env.SIGNING_PASSWORD }}"
89+
stdin: "{{ .Env.SIGNING_PASSWORD }}"
9090

9191
changelog:
9292
sort: asc
@@ -107,7 +107,7 @@ changelog:
107107

108108
dockers:
109109
- image_templates:
110-
- "columnar/dbc:{{ .Version }}-amd64"
110+
- "columnar/dbc:{{ .Version }}-amd64"
111111
use: buildx
112112
dockerfile: Dockerfile
113113
skip_push: false
@@ -124,13 +124,13 @@ dockers:
124124
build_flag_templates:
125125
- "--platform=linux/amd64"
126126
- image_templates:
127-
- "columnar/dbc:{{ .Version }}-arm64v8"
127+
- "columnar/dbc:{{ .Version }}-arm64v8"
128128
use: buildx
129129
goarch: arm64
130130
dockerfile: Dockerfile
131131
skip_push: false
132132
build_flag_templates:
133-
- "--platform=linux/arm64/v8"
133+
- "--platform=linux/arm64/v8"
134134
- image_templates:
135135
- "columnar/dbc:{{ .Tag }}-arm64v8"
136136
- "columnar/dbc:v{{ .Major }}-arm64v8"
@@ -141,18 +141,18 @@ dockers:
141141
dockerfile: Dockerfile
142142
skip_push: auto
143143
build_flag_templates:
144-
- "--platform=linux/arm64/v8"
144+
- "--platform=linux/arm64/v8"
145145

146146
docker_manifests:
147-
- name_template: "columnar/dbc:{{ .Version }}"
147+
- name_template: "columnar/dbc:{{ .Version }}"
148148
image_templates:
149149
- "columnar/dbc:{{ .Version }}-amd64"
150150
- "columnar/dbc:{{ .Version }}-arm64v8"
151151
- name_template: "columnar/dbc:v{{ .Major }}"
152152
skip_push: auto
153153
image_templates:
154154
- "columnar/dbc:v{{ .Major }}-amd64"
155-
- "columnar/dbc:v{{ .Major }}-arm64v8"
155+
- "columnar/dbc:v{{ .Major }}-arm64v8"
156156
- name_template: "columnar/dbc:v{{ .Major }}.{{ .Minor }}"
157157
skip_push: auto
158158
image_templates:
@@ -169,7 +169,7 @@ docker_manifests:
169169
- "columnar/dbc:latest-amd64"
170170
- "columnar/dbc:latest-arm64v8"
171171

172-
dockerhub:
172+
dockerhub:
173173
- username: "columnar"
174174
secret_name: "DOCKER_TOKEN"
175175
disable: '{{ or (not .IsRelease) (ne .Prerelease "") }}'
@@ -233,19 +233,19 @@ msi:
233233
- ./resources/dbc.ico
234234
- ./resources/dbc.bmp
235235
- ./ui/bitmaps/dlgbmp.bmp
236-
- ./ui/bitmaps/bannrbmp.bmp
236+
- ./ui/bitmaps/bannrbmp.bmp
237237

238238
signs:
239239
- id: signature-archives
240240
artifacts: archive
241-
ids:
241+
ids:
242242
- archives
243243
args: ["--output", "${signature}", "-u", "[email protected]", "--detach-sign", "${artifact}"]
244244
- id: sign-windows-msi
245245
if: '{{ isEnvSet "SM_API_KEY" }}'
246246
artifacts: installer # Windows MSI installers
247247
cmd: jsign
248-
args: ["-keystore", "{{ .Env.PKCS11_CONFIG }}",
248+
args: ["-keystore", "{{ .Env.PKCS11_CONFIG }}",
249249
"-storepass", "NONE", "-storetype", "PKCS11", "-alg", "SHA-256", "-tsaurl", "http://timestamp.digicert.com",
250250
"--name", "{{ .ProjectName }} Installer", "-alias", "{{ .Env.SM_KEYPAIR_ALIAS }}", "${artifact}"]
251251

0 commit comments

Comments
 (0)