Skip to content

Commit

Permalink
Update goreleaser release job (#187)
Browse files Browse the repository at this point in the history
Use these settings as recommended in the goreleaser docs:

https://goreleaser.com/ci/actions/#workflow
  • Loading branch information
andrew-farries authored Oct 13, 2023
1 parent 57ea814 commit a3a40f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ jobs:
PGROLL_VERSION: ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || github.sha }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- run: git fetch --force --tags

- name: Set up Go
uses: actions/setup-go@v4
Expand All @@ -122,4 +126,4 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}

0 comments on commit a3a40f7

Please sign in to comment.