Skip to content

Commit 48a6d46

Browse files
author
jordanbreen28
committed
(CONT-930) - Roll out new changelog generator
1 parent caf25e5 commit 48a6d46

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,16 @@ jobs:
2828
with:
2929
args: "build"
3030

31+
- name: "Generate release notes"
32+
run: |
33+
export GH_HOST=github.com
34+
gh extension install chelnak/gh-changelog
35+
gh changelog get --latest > OUTPUT.md
36+
env:
37+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
3139
- name: "Create release"
3240
run: |
33-
gh release create v${{ steps.get_version.outputs.version }} --title v${{ steps.get_version.outputs.version }}
41+
gh release create v${{ steps.get_version.outputs.version }} --title v${{ steps.get_version.outputs.version }} -F OUTPUT.md
3442
env:
3543
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/auto_release.yml renamed to .github/workflows/release_prep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Auto release"
1+
name: "Release Prep"
22

33
on:
44
workflow_dispatch:

0 commit comments

Comments
 (0)