Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,17 @@ git push --tags

# --- 10. Create GitHub release ---
echo "🎉 Creating GitHub release..."
gh release create "$VERSION" "$ZIP_PATH" \
--title "$VERSION" \
--generate-notes
PREV_TAG=$(git tag --sort=-v:refname | grep -v "^$VERSION$" | head -1)
if [[ -n "$PREV_TAG" ]]; then
gh release create "$VERSION" "$ZIP_PATH" \
--title "$VERSION" \
--generate-notes \
--notes-start-tag "$PREV_TAG"
else
gh release create "$VERSION" "$ZIP_PATH" \
--title "$VERSION" \
--generate-notes
fi

echo ""
echo "✅ Release $VERSION complete!"
Expand Down
Loading