Skip to content

Commit d638c6e

Browse files
committed
fixup! chore: add dry-run functionality to release workflow
1 parent 2b8d9cb commit d638c6e

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.goreleaser-release-darwin.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@ builds:
3535
goos: [darwin]
3636
goarch: [amd64, arm64]
3737
hooks:
38-
# This signs the binary that will be located inside the zip.
39-
# MacOS requires the binary to be signed for notarization.
40-
#
41-
# If it doesn't successfully sign, the zip sign step will error.
38+
# This signs the binary that will be located inside the zip. MacOS
39+
# requires the binary to be signed for notarization.
4240
post: |
43-
sh -c 'codesign -s {{.Env.AC_APPLICATION_IDENTITY}} -f -v --timestamp --options runtime {{.Path}} || true'
41+
sh -c 'codesign -s {{.Env.AC_APPLICATION_IDENTITY}} -f -v --timestamp --options runtime {{.Path}}'
4442
4543
env:
4644
# Apple identity for signing!
@@ -53,5 +51,8 @@ signs:
5351
args: ["${artifact}"]
5452
output: true
5553

54+
release:
55+
ids: [coder-darwin]
56+
5657
snapshot:
5758
name_template: "{{ .Version }}-devel+{{ .ShortCommit }}"

.goreleaser-release-linux.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@ builds:
4848
goos: [windows]
4949
goarch: [amd64, arm64]
5050

51+
release:
52+
ids: [coder-windows, coder-linux]
53+
5154
snapshot:
5255
name_template: "{{ .Version }}-devel+{{ .ShortCommit }}"

.goreleaser-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ builds:
1010
goarch: [amd64, arm, arm64]
1111
goarm: ["7"]
1212
prebuilt:
13-
path: artifacts/coder-linux_{{.Os}}_{{.Arch}}/coder
13+
path: artifacts/coder-linux_{{.Os}}_{{.Arch}}{{ with .Arm }}_{{ . }}{{ end }}/coder
1414

1515
# This section is also contained in .goreleaser.yaml.
1616
nfpms:

0 commit comments

Comments
 (0)