1 parent f11d25d commit c719622Copy full SHA for c719622
2 files changed
.github/workflows/release.yml
@@ -44,6 +44,10 @@ jobs:
44
sudo install --mode=755 \
45
"$(find /tmp -maxdepth 2 -name git-cliff -type f)" \
46
/usr/local/bin/git-cliff
47
+ git-cliff --version
48
+
49
+ - name: Generate changelog
50
+ run: git-cliff --latest --output /tmp/release-notes.md
51
52
- name: Install syft
53
uses: anchore/sbom-action/download-syft@v0
@@ -61,7 +65,7 @@ jobs:
61
65
with:
62
66
distribution: goreleaser
63
67
version: "~> v2"
64
- args: release --clean
68
+ args: release --clean --release-notes /tmp/release-notes.md
69
env:
70
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71
.goreleaser.yml
@@ -61,5 +61,4 @@ checksum:
algorithm: sha256
changelog:
- use: git-cliff
- abbrev: -1
+ disable: true
0 commit comments