diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c68642a..64816f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,6 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.18 - id: go - name: Import GPG key id: import_gpg diff --git a/.goreleaser.yml b/.goreleaser.yml index d33d07b..86fbfa9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 \ No newline at end of file