Skip to content

Commit 9d7190f

Browse files
vgrameroktalz
authored andcommitted
BUG/MINOR: goreleaser: fix release note generation. Previously, the release notes were edited manually
this commit also bump goreleaser action from v2 to v4 (not related to release notes gathering pb) Signed-off-by: Vincent Gramer <[email protected]>
1 parent 5c69ed9 commit 9d7190f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/.goreleaser.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
12+
with:
13+
# we have to fetch all history to be able to generate the release note. c.f. https://goreleaser.com/ci/actions/.
14+
fetch-depth: 0
1215
- name: Set up Go
1316
uses: actions/setup-go@v3
1417
with:
1518
go-version-file: 'go.mod'
1619
- name: Run GoReleaser
17-
uses: goreleaser/goreleaser-action@v2
20+
uses: goreleaser/goreleaser-action@v4
1821
with:
1922
distribution: goreleaser
2023
version: latest

0 commit comments

Comments
 (0)