NapCatQQ/script/generate-changelog.sh
copilot-swe-agent[bot] 7105571ed7 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>
2025-11-07 02:35:24 +00:00

9 lines
232 B
Bash
Executable File

#!/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