Skip to content

Commit 17c035c

Browse files
committed
gpg
1 parent bf0817f commit 17c035c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.goreleaser.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@ builds:
2626
archives:
2727
- format: zip
2828
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
29-
# checksum:
30-
# name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
31-
# algorithm: sha256
32-
# signs:
33-
# - artifacts: checksum
34-
# args:
35-
# # if you are using this is a GitHub action or some other automated pipeline, you
36-
# # need to pass the batch flag to indicate its not interactive.
37-
# - "--batch"
38-
# - "--local-user"
39-
# - "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
40-
# - "--output"
41-
# - "${signature}"
42-
# - "--detach-sign"
43-
# - "${artifact}"
29+
checksum:
30+
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
31+
algorithm: sha256
32+
signs:
33+
- artifacts: checksum
34+
args:
35+
# if you are using this is a GitHub action or some other automated pipeline, you
36+
# need to pass the batch flag to indicate its not interactive.
37+
- "--batch"
38+
- "--local-user"
39+
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
40+
- "--output"
41+
- "${signature}"
42+
- "--detach-sign"
43+
- "${artifact}"
4444
release:
4545
# If you want to manually examine the release before its live, uncomment this line:
4646
# draft: true

0 commit comments

Comments
 (0)