mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-03-01 16:20:25 +00:00
ci: Improve release workflow with automated changelog and OneKey packages
- Created .github/release-template/release-info.md with fixed release information - Created script/generate-changelog.sh to generate changelog from latest 10 commits (excluding release commits) - Modified .github/workflows/release.yml to: - Download NapCat.Shell.Windows.OneKey.zip and NapCat.Framework.Windows.OneKey.zip from latest release - Generate release notes by combining fixed template with automated changelog - Upload OneKey packages along with other build artifacts Co-authored-by: sj817 <74231782+sj817@users.noreply.github.com>
This commit is contained in:
8
script/generate-changelog.sh
Executable file
8
script/generate-changelog.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get the latest 10 commits excluding those starting with "release:"
|
||||
echo "## 更新"
|
||||
echo ""
|
||||
git log --oneline -20 --pretty=format:"%s" | grep -v "^release:" | head -10 | while read -r line; do
|
||||
echo "- $line"
|
||||
done
|
||||
Reference in New Issue
Block a user