summaryrefslogtreecommitdiff
path: root/internal/cli/release.go
AgeCommit message (Collapse)Author
2025-07-19feat: add support for aichat as AI tool for release notesv0.8.0Paul Buetow
- Add --ai-tool flag to release and sync commands - Support both 'claude' and 'aichat' options (default: claude) - Update GenerateAIReleaseNotes to handle both tools - Add tool-specific error messages and hints - Update documentation with usage examples This allows users to choose between Claude CLI and aichat for generating AI-powered release notes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-13chore: bump version to 0.7.1v0.7.1Paul Buetow
Bug fixes and improvements: - Fix AI release notes now enabled by default - Add better error handling for Codeberg release creation - Add debugging for token loading in release management - Handle Gitea API "Release is has no Tag" error gracefully 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12feat: clear cache and track failed AI release note generationsPaul Buetow
- Clear cache entry when AI generation fails to allow retry - Track all failed generations for summary at end - Save cache immediately after clearing failed entry - Show helpful summary of failed releases at the end - Suggest running again to retry failed generations - Handle both GitHub and Codeberg org names in failure tracking 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12feat: save AI release notes cache after each successful generationPaul Buetow
- Save cache immediately after each Claude CLI success - Prevents losing work if process is interrupted - Remove verbose save messages since saving more frequently - Show cache summary only at the end if new entries were added - More resilient to crashes or user interruptions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12feat: add persistent caching for AI release notesPaul Buetow
- Cache AI-generated release notes to .gitsyncer-ai-release-notes-cache.json - Persist cache between gitsyncer runs to avoid regenerating notes - Only cache when Claude CLI succeeds (not on failures) - Honor --force flag to regenerate notes ignoring cache - Display when using cached vs generating new notes - Save cache file in work directory for easy management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12feat: improve AI release notes generationPaul Buetow
- Display Claude CLI command being executed with prompt length - Cache AI-generated release notes to avoid regenerating for same tag - Use cached notes when creating/updating releases on different platforms - Show when falling back to different Claude models 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12fix: make --check-releases scan all repositories in work directoryPaul Buetow
- Previously only checked repositories listed in config (which was empty) - Now scans all git repositories found in work directory - Removed duplicate code for checking public repositories 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12fix: remove verbose token loading messagesPaul Buetow
- Only show warnings when no token is found at all - Silent token loading from files when successful 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12feat: add AI-powered release notes generationPaul Buetow
- Add --ai-release-notes flag to generate prose release notes using Claude CLI - Add --update-releases flag to update existing releases with AI notes - Implement GetDiffBetweenTags to extract code changes between versions - Integrate Claude CLI for intelligent release note generation - Support fallback to multiple Claude models (sonnet-3.5, sonnet-4, default) - Always print release notes to stdout for visibility - Fix token loading messages to only show when falling back from config 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12feat: add automatic release checking and creationPaul Buetow
- Add --check-releases flag for manual release checking - Enable automatic release checking after sync operations by default - Add --no-check-releases flag to disable automatic checking - Add --auto-create-releases flag for unattended release creation - Generate release notes from commit history - Support version tag formats: vX.Y.Z, vX.Y, vX, X.Y.Z, X.Y, X - Use tokens from gitsyncer config (with fallback to env vars and files) - Show release notes preview before creating releases - Group commits by type (features, fixes, other) in release notes