mirror of
https://github.com/fmhy/FMHY-SafeGuard.git
synced 2026-03-11 08:55:40 +00:00
Update release notes format in workflow
This commit is contained in:
parent
e0fe734680
commit
e9779d547b
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
id: release_notes
|
||||
run: |
|
||||
VERSION=${{ env.VERSION }}
|
||||
echo "## Release $VERSION" > release_notes.md
|
||||
echo "## v$VERSION" > release_notes.md
|
||||
echo "" >> release_notes.md
|
||||
if [[ "$VERSION" != "dev-version" ]]; then
|
||||
awk "/^## \\[$VERSION\\]/, /^## \\[/" CHANGELOG.md >> release_notes.md || cat RELEASE.HEAD.md >> release_notes.md
|
||||
|
|
@ -61,7 +61,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ env.VERSION }}
|
||||
release_name: Release ${{ env.VERSION }}
|
||||
release_name: v${{ env.VERSION }}
|
||||
body_path: release_notes.md
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
|
|
|||
Loading…
Reference in a new issue