diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b8bfa84e2..8e6c4d163 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,8 +22,12 @@ jobs: # More assembly might be required: Docker logins, GPG, etc. It all depends # on your needs. # ${{ github.ref_name }} or $GITHUB_REF_NAME or ${{env.GITHUB_REF_NAME}} currently. - - run: ./scripts/release-notes.sh ${{github.ref_name}} > ./release_notes.txt - - uses: goreleaser/goreleaser-action@v4 + - name: Generate release notes + continue-on-error: true + run: ./scripts/release-notes.sh ${{github.ref_name}} > ./release_notes.txt + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v4 + if: '!cancelled()' with: # either 'goreleaser' (default) or 'goreleaser-pro': distribution: goreleaser