Skip to content

Commit dc7de13

Browse files
authored
Merge pull request #47 from TraGicCode/refactor-automated-release-process-fix-2
Refactor automated release process fix round 2
2 parents 0ce56e3 + 50e3976 commit dc7de13

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ jobs:
3131

3232
# git tag "v$version"
3333
# git push origin "v$version"
34+
35+
# gh changelog new --latest
3436
- name: "Generate Release Changelog"
3537
run: |
3638
gh extension install chelnak/gh-changelog
3739
gh changelog new --latest
40+
gh changelog new --next-version ${{ steps.changelog.outputs.version }} --latest
3841
env:
3942
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4043

@@ -44,8 +47,8 @@ jobs:
4447
env:
4548
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4649
with:
47-
tag_name: ${{ github.ref }}
48-
release_name: Release ${{ github.ref }}
50+
tag_name: ${{ steps.changelog.outputs.version }}
51+
release_name: Release ${{ steps.changelog.outputs.version }}
4952
draft: false
5053
prerelease: false
5154
body_path: CHANGELOG.md

0 commit comments

Comments
 (0)