From a303bc7bfe5a790fbda2240fa5935cd07601960e Mon Sep 17 00:00:00 2001 From: Himanshu Date: Thu, 1 Apr 2021 19:46:57 +0530 Subject: [PATCH] ci: fix goreleaser and its github aciton --- .github/workflows/release.yml | 7 ------- .goreleaser.yml | 6 +----- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1fe84fc..2460839 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,12 +17,6 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.16 - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v3 - with: - gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: @@ -30,4 +24,3 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 2761ac6..e22bbb4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +project_name: taskgo before: hooks: - go mod tidy @@ -25,8 +26,3 @@ changelog: exclude: - "^docs:" - "^test:" -env_files: - github_token: ~/.config/goreleaser/github_token -signs: - - artifacts: checksum - args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]