Skip to content
This repository was archived by the owner on Nov 16, 2025. It is now read-only.

Commit eee2501

Browse files
steipeteclaude
andcommitted
Prepare for v1.1.0 stable release
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e485870 commit eee2501

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
99
- We support Swift 6 and macOS 15 only.
1010
- Don't care about backwards compatibility, always properly refactor.
1111
- App is fully sandboxed as of v1.0.0 - maintain sandbox compatibility.
12+
- Follow docs/RELEASE.md for releases
1213

1314
## Project Overview
1415

scripts/release.sh

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,30 @@ git push origin "$TAG_NAME"
255255

256256
# Create release
257257
echo "📤 Creating GitHub release..."
258-
RELEASE_NOTES="Release $RELEASE_VERSION (build $BUILD_NUMBER)"
258+
259+
# Generate release notes from changelog
260+
echo "📝 Generating release notes from changelog..."
261+
CHANGELOG_HTML=""
262+
if [[ -x "$SCRIPT_DIR/changelog-to-html.sh" ]] && [[ -f "$PROJECT_ROOT/CHANGELOG.md" ]]; then
263+
# Extract version for changelog (remove any pre-release suffixes for lookup)
264+
CHANGELOG_VERSION="$RELEASE_VERSION"
265+
if [[ "$CHANGELOG_VERSION" =~ ^([0-9]+\.[0-9]+\.[0-9]+) ]]; then
266+
CHANGELOG_BASE="${BASH_REMATCH[1]}"
267+
# Try full version first, then base version
268+
CHANGELOG_HTML=$("$SCRIPT_DIR/changelog-to-html.sh" "$CHANGELOG_VERSION" "$PROJECT_ROOT/CHANGELOG.md" 2>/dev/null || \
269+
"$SCRIPT_DIR/changelog-to-html.sh" "$CHANGELOG_BASE" "$PROJECT_ROOT/CHANGELOG.md" 2>/dev/null || \
270+
echo "")
271+
fi
272+
fi
273+
274+
# Fallback to basic release notes if changelog extraction fails
275+
if [[ -z "$CHANGELOG_HTML" ]]; then
276+
echo "⚠️ Could not extract changelog, using basic release notes"
277+
RELEASE_NOTES="Release $RELEASE_VERSION (build $BUILD_NUMBER)"
278+
else
279+
echo "✅ Generated release notes from changelog"
280+
RELEASE_NOTES="$CHANGELOG_HTML"
281+
fi
259282

260283
if [[ "$RELEASE_TYPE" == "stable" ]]; then
261284
gh release create "$TAG_NAME" \

0 commit comments

Comments
 (0)