We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce56e3 commit 50e3976Copy full SHA for 50e3976
1 file changed
.github/workflows/release.yml
@@ -31,10 +31,13 @@ jobs:
31
32
# git tag "v$version"
33
# git push origin "v$version"
34
+
35
+ # gh changelog new --latest
36
- name: "Generate Release Changelog"
37
run: |
38
gh extension install chelnak/gh-changelog
39
gh changelog new --latest
40
+ gh changelog new --next-version ${{ steps.changelog.outputs.version }} --latest
41
env:
42
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43
@@ -44,8 +47,8 @@ jobs:
44
47
45
48
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
49
with:
- tag_name: ${{ github.ref }}
- release_name: Release ${{ github.ref }}
50
+ tag_name: ${{ steps.changelog.outputs.version }}
51
+ release_name: Release ${{ steps.changelog.outputs.version }}
52
draft: false
53
prerelease: false
54
body_path: CHANGELOG.md
0 commit comments