ci: Fix bug in changelog generation
This commit is contained in:
@@ -126,7 +126,7 @@ jobs:
|
|||||||
- name: Generate changelog for the version bump
|
- name: Generate changelog for the version bump
|
||||||
id: changelog
|
id: changelog
|
||||||
run: |
|
run: |
|
||||||
changelog=$(conventional-changelog -p angular -i CHANGELOG.md --from ${{ env.prev_version }} --to ${{ env.version }})
|
changelog=$(conventional-changelog -p angular -i CHANGELOG.md --from ${{ env.prev_version }} --to v${{ env.version }})
|
||||||
echo "$changelog" > artifacts/changelog.md
|
echo "$changelog" > artifacts/changelog.md
|
||||||
echo "changelog_body=$(cat artifacts/changelog.md)" >> $GITHUB_ENV
|
echo "changelog_body=$(cat artifacts/changelog.md)" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -5,6 +5,6 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [0.0.1] - 2025-09-10
|
## v0.0.1 (2025-09-10)
|
||||||
|
|
||||||
### Other
|
### Other
|
||||||
|
|||||||
Reference in New Issue
Block a user