Skip to content

Commit

Permalink
Add debugging info to goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrudz committed Jan 23, 2024
1 parent d89ffdc commit c77536e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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
Expand Down
7 changes: 4 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c77536e

Please sign in to comment.