diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af39cb4..0ea07ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,13 +31,6 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.21 - - name: Set GPG_TTY to address ioctl error - run: | - { - echo 'GPG_TTY<<--EOF--' - echo $TTY - echo --EOF-- - } >> "$GITHUB_ENV" - name: Import GPG key id: import_gpg uses: crazy-max/ghaction-import-gpg@v6.1.0 @@ -49,7 +42,7 @@ jobs: uses: goreleaser/goreleaser-action@v5 with: version: latest - args: release --rm-dist + args: release --clean env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} # GitHub sets this automatically diff --git a/.goreleaser.yml b/.goreleaser.yml index 8c1ff49..0f380d0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,10 +10,10 @@ builds: ldflags: - '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X github.com/DopplerHQ/terraform-provider-doppler/doppler.ProviderVersion={{.Version}}' goos: - - freebsd - - windows + # - freebsd + # - windows - linux - - darwin + # - darwin goarch: - amd64 - '386' @@ -41,6 +41,7 @@ signs: - "${signature}" - "--detach-sign" - "${artifact}" + output: true release: # If you want to manually examine the release before its live, uncomment this line: # draft: true