Skip to content

Commit 56cbcdc

Browse files
committed
fixed release pipeline
1 parent c963442 commit 56cbcdc

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.goreleaser.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,26 @@ builds:
8383
# - goos: solaris
8484
# goarch: '386'
8585
# binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
86-
# archives:
87-
# - format: zip
88-
# files:
89-
# - none*
90-
# name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
91-
# checksum:
92-
# name_template: '{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'
93-
# algorithm: sha256
94-
# signs:
95-
# - artifacts: checksum
96-
# args:
97-
# # if you are using this is in a GitHub action or some other automated pipeline, you
98-
# # need to pass the batch flag to indicate its not interactive.
99-
# - "--batch"
100-
# - "--local-user"
101-
# - "{{ .Env.GPG_FINGERPRINT }}"
102-
# - "--output"
103-
# - "${signature}"
104-
# - "--detach-sign"
105-
# - "${artifact}"
86+
archives:
87+
- format: zip
88+
files:
89+
- none*
90+
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
91+
checksum:
92+
name_template: '{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'
93+
algorithm: sha256
94+
signs:
95+
- artifacts: checksum
96+
args:
97+
# if you are using this is in a GitHub action or some other automated pipeline, you
98+
# need to pass the batch flag to indicate its not interactive.
99+
- "--batch"
100+
- "--local-user"
101+
- "{{ .Env.GPG_FINGERPRINT }}"
102+
- "--output"
103+
- "${signature}"
104+
- "--detach-sign"
105+
- "${artifact}"
106106

107107
changelog:
108108
use: github-native

0 commit comments

Comments
 (0)