From a2e8ac7c0630d697af43d0f9f0041cb15bfee445 Mon Sep 17 00:00:00 2001 From: Barnaby Gray Date: Thu, 23 Feb 2023 13:34:31 +0000 Subject: [PATCH] Fix goreleaser changelog --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41bb7de..0c25cda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,11 @@ on: push: tags: - '*.*.*' -jobs: +permissions: + contents: write + +jobs: release: name: Release runs-on: ubuntu-latest @@ -17,13 +20,12 @@ jobs: - name: Check out code uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Download Go dependencies run: go mod download - - name: Get upx - run: sudo apt install -y upx - - name: Make release uses: goreleaser/goreleaser-action@v4 with: