Skip to content

Commit 723e184

Browse files
committed
release notes made better
1 parent 0f594f0 commit 723e184

File tree

1 file changed

+38
-12
lines changed

1 file changed

+38
-12
lines changed

.github/workflows/release.yml

Lines changed: 38 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,38 +64,64 @@ jobs:
6464
exit 1
6565
fi
6666
67-
- name: Create Release Notes
67+
- name: Generate Release Notes from Commits
6868
run: |
69+
# Get current and previous tags
70+
CURRENT_TAG="${{ steps.get_version.outputs.tag }}"
71+
PREVIOUS_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
72+
73+
# If no previous tag, use initial commit
74+
if [ -z "$PREVIOUS_TAG" ]; then
75+
PREVIOUS_TAG=$(git rev-list --max-parents=0 HEAD)
76+
fi
77+
78+
echo "Generating release notes from $PREVIOUS_TAG to $CURRENT_TAG"
79+
80+
# Generate commit log
81+
COMMIT_LOG=$(git log $PREVIOUS_TAG..HEAD --oneline --no-merges --pretty=format:"- %s" 2>/dev/null || git log --oneline --no-merges --pretty=format:"- %s")
82+
83+
# Count commits
84+
COMMIT_COUNT=$(echo "$COMMIT_LOG" | wc -l | tr -d ' ')
85+
86+
# Generate release notes
6987
cat > release_notes.md << EOF
7088
# AVD Manager v${{ steps.get_version.outputs.version }}
7189
7290
A modern macOS status bar app for managing Android emulators.
7391
74-
## Features
75-
- 📱 Launch and stop Android emulators from the status bar
76-
- 🎯 Real-time emulator status detection
77-
- 🎨 Professional JetBrains Toolbox-inspired interface
78-
- ⚡ Fast and lightweight
79-
- 🔍 Spotlight-searchable with custom app icon
92+
## What's Changed in this Release
93+
94+
$COMMIT_LOG
8095
81-
## Installation
96+
**$COMMIT_COUNT commits** since previous release
97+
98+
## Quick Start
8299
1. Download the DMG file below
83-
2. Open the DMG and drag AVD Manager to Applications
100+
2. Open the DMG and drag AVD Manager to Applications
84101
3. Launch from Applications or Spotlight
102+
4. Access Settings to configure your Android SDK path
85103
86104
## System Requirements
87-
- macOS 15.4 or later
105+
- macOS 14.0 or later (Universal Binary: Intel & Apple Silicon)
88106
- Android SDK with emulator tools installed
89107
- Xcode Command Line Tools (for Android development)
90108
91-
## Checksums
109+
## Key Features
110+
- 📱 Launch and stop Android emulators from the status bar
111+
- ⚙️ Configurable Android SDK path in Settings
112+
- 🎯 Real-time emulator status detection
113+
- 🎨 Professional JetBrains Toolbox-inspired interface
114+
- ⚡ Fast and lightweight
115+
- 🔍 Spotlight-searchable with custom app icon
116+
117+
## File Verification
92118
\`\`\`
93119
${{ env.DMG_CHECKSUM }}
94120
\`\`\`
95121
96122
---
97123
98-
**Note**: This app requires Android SDK tools to be installed and accessible in your PATH.
124+
**Note**: This app requires Android SDK tools to be installed and accessible in your PATH. Use Settings to configure custom SDK locations.
99125
EOF
100126
101127
- name: Create GitHub Release

0 commit comments

Comments
 (0)