fix(ci): updated configuration of go releaser

This commit is contained in:
EvolutionX
2022-06-05 09:02:06 +05:30
parent c648e0560b
commit c43f6c5a31
2 changed files with 5 additions and 1 deletions

View File

@@ -24,7 +24,6 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.18
id: go
- name: Import GPG key
id: import_gpg

View File

@@ -7,6 +7,11 @@ builds:
goarch:
- amd64
main: ./cmd
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
signs:
- artifacts: checksum
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
release:
draft: true