From c43f6c5a31ce15d465d6faa4fa8338e530a5228f Mon Sep 17 00:00:00 2001 From: EvolutionX Date: Sun, 5 Jun 2022 09:02:06 +0530 Subject: [PATCH] fix(ci): updated configuration of go releaser --- .github/workflows/release.yml | 1 - .goreleaser.yml | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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