Skip to content

Commit ff1972a

Browse files
authored
Merge pull request #49 from TraGicCode/refactor-automated-release-process-fix-3
Refactor automated release process fix round 3
2 parents 6c0b523 + 158f80b commit ff1972a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
gh extension install chelnak/gh-changelog
3939
gh changelog new --latest
40-
gh changelog new --next-version ${{ steps.changelog.outputs.version }} --latest
40+
gh changelog new --next-version v${{ steps.changelog.outputs.version }} --latest
4141
env:
4242
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343

@@ -47,8 +47,8 @@ jobs:
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
with:
50-
tag_name: ${{ steps.changelog.outputs.version }}
51-
release_name: Release ${{ steps.changelog.outputs.version }}
50+
tag_name: v${{ steps.changelog.outputs.version }}
51+
release_name: Release v${{ steps.changelog.outputs.version }}
5252
draft: false
5353
prerelease: false
5454
body_path: CHANGELOG.md

.github/workflows/release_prep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: "generate changelog"
2626
run: |
2727
gh extension install chelnak/gh-changelog
28-
gh changelog new --next-version ${{ github.event.inputs.version }}
28+
gh changelog new --next-version v${{ github.event.inputs.version }}
2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

0 commit comments

Comments
 (0)