@@ -25,25 +25,25 @@ universal_binaries:
2525 name_template : " sn"
2626 replace : true
2727 mod_timestamp : " {{ .CommitTimestamp }}"
28- hooks :
29- post : |
30- sh -c 'cat <<EOF > /tmp/sn-cli-gon-universal.hcl
31- source = ["./dist /sn-macos-universal_darwin_all/sn"]
32- bundle_id = "uk.co.lessknown. sn-cli"
33- apple_id {
34- 35- password = "@env:AC_PASSWORD "
36- team_id = "VBZY8FBYR5 "
37- }
38- sign {
39- application_identity = "Developer ID Application: Jonathan Hadfield (VBZY8FBYR5)"
40- }
41- zip {
42- output_path = "./dist/sn-cli_Darwin_all.zip"
43- }
44- EOF
45- gon /tmp/sn-cli-gon-universal.hcl
46- '
28+ # Disable gon signing for now - can be enabled when properly configured
29+ # hooks:
30+ # post: |
31+ # sh -c 'cat <<EOF > /tmp /sn-cli-gon-universal.hcl
32+ # source = ["./dist/ sn-macos-universal_darwin_all/sn"]
33+ # bundle_id = "uk.co.lessknown.sn-cli"
34+ # apple_id {
35+ 36+ # password = "@env:AC_PASSWORD "
37+ # }
38+ # sign {
39+ # application_identity = "Developer ID Application: Jonathan Hadfield (VBZY8FBYR5)"
40+ # }
41+ # zip {
42+ # output_path = "./dist/sn-cli_Darwin_all.zip"
43+ # }
44+ # EOF
45+ # gon /tmp/sn-cli-gon-universal.hcl
46+ # '
4747
4848builds :
4949 - id : sn-macos-amd64
@@ -126,7 +126,6 @@ archives:
126126 {{- if .Arm }}v{{ .Arm }}{{ end }}
127127 builds :
128128 - sn-linux-windows
129- format : tar.gz
130129 format_overrides :
131130 - goos : windows
132131 format : zip
@@ -139,7 +138,6 @@ archives:
139138 name_template : " {{ .ProjectName }}_Darwin_universal"
140139 builds :
141140 - sn-macos-universal
142- format : tar.gz
143141 files :
144142 - LICENSE
145143 - README.md
@@ -232,35 +230,35 @@ sboms:
232230 documents :
233231 - " {{ .ProjectName }}_{{ .Version }}_sbom.spdx.json"
234232
235- # Code signing for macOS
236- signs :
237- - cmd : cosign
238- artifacts : checksum
239- output : true
240- args :
241- - " sign-blob"
242- - " --key"
243- - " cosign.key"
244- - " --output-signature"
245- - " ${artifact}.sig"
246- - " ${artifact}"
247- - " --yes"
248- env :
249- - COSIGN_PASSWORD={{ .Env.COSIGN_PASSWORD }}
233+ # Code signing for macOS (disabled - uncomment when cosign is configured)
234+ # signs:
235+ # - cmd: cosign
236+ # artifacts: checksum
237+ # output: true
238+ # args:
239+ # - "sign-blob"
240+ # - "--key"
241+ # - "cosign.key"
242+ # - "--output-signature"
243+ # - "${artifact}.sig"
244+ # - "${artifact}"
245+ # - "--yes"
246+ # env:
247+ # - COSIGN_PASSWORD={{ .Env.COSIGN_PASSWORD }}
250248
251- # Docker configuration (optional)
252- dockers :
253- - skip_push : true
254- image_templates :
255- - " ghcr.io/jonhadfield/{{ .ProjectName }}:{{ .Version }}"
256- - " ghcr.io/jonhadfield/{{ .ProjectName }}:latest"
257- dockerfile : Dockerfile
258- build_flag_templates :
259- - " --pull"
260- - " --label=org.opencontainers.image.created={{ .Date }}"
261- - " --label=org.opencontainers.image.title={{ .ProjectName }}"
262- - " --label=org.opencontainers.image.revision={{ .FullCommit }}"
263- - " --label=org.opencontainers.image.version={{ .Version }}"
249+ # Docker configuration (optional - uncomment when Docker support is needed )
250+ # dockers:
251+ # - skip_push: true
252+ # image_templates:
253+ # - "ghcr.io/jonhadfield/{{ .ProjectName }}:{{ .Version }}"
254+ # - "ghcr.io/jonhadfield/{{ .ProjectName }}:latest"
255+ # dockerfile: Dockerfile
256+ # build_flag_templates:
257+ # - "--pull"
258+ # - "--label=org.opencontainers.image.created={{ .Date }}"
259+ # - "--label=org.opencontainers.image.title={{ .ProjectName }}"
260+ # - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
261+ # - "--label=org.opencontainers.image.version={{ .Version }}"
264262
265263# Metadata
266264metadata :
0 commit comments