Fix CI release notes: fetch full git history to detect previous tags#6
Merged
Conversation
…documentation overhaul
This commit introduces significant improvements to project structure, installation
workflow, and documentation quality:
## New Features
- **License Compliance**: Added NOTICE file with Apache 2.0 headers and proper
third-party attributions (Ghidra, capa)
- **Modular Tooling**: Created standalone utilities for better user experience:
* kernagent-config: Interactive configuration editor
* kernagent-update: Version management with tag pinning support
* kernagent-uninstall: Clean removal of all installed components
## Refactoring
- **Installation System**: Transformed monolithic install.sh into a bootstrapper
that delegates to modular scripts in scripts/ directory
* Core logic moved to scripts/install.sh (234 lines)
* Main wrapper extracted to scripts/kernagent (180 lines)
* 538 lines removed from root install.sh
- **Documentation**: Complete README.md restructure for clarity and usability
* Added 3 clear installation paths (wrapper, Docker Compose, raw Docker)
* Better emphasis on offline-first and headless design
* Streamlined quick-start with verification steps
* Improved model configuration guidance
* Net reduction in length while adding more actionable content
- **Docker Setup**: Simplified docker-compose.yml configuration
* Removed complex anchor patterns
* Cleaner service definitions
## Statistics
Files changed: 9 files
Lines added: 1,515
Lines removed: 952
New files: NOTICE, scripts/{install.sh,kernagent,kernagent-config,
kernagent-update,kernagent-uninstall}
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
The build-release job was doing a shallow clone, preventing git describe from finding previous tags. This caused all releases to show 'Initial Release' instead of proper 'Changes since vX.Y.Z' notes. Added fetch-depth: 0 to checkout step to fetch all history and tags. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes a bug in the CI workflow where release notes always showed "Initial Release" instead of properly detecting previous tags and listing changes.
Problem
The
build-releasejob was using a shallow clone (default behavior ofactions/checkout@v4), which doesn't fetch tag history. This causedgit describeto fail when looking for the previous tag, resulting in all releases showing:Instead of the correct:
Solution
Added
fetch-depth: 0to the checkout step in thebuild-releasejob to fetch full git history including all tags.Changes
.github/workflows/ci.yml: Addedfetch-depth: 0to checkout action in build-release jobTesting
This fix will be verified on the next tag release (v1.0.3 or later). The CI will now be able to:
Impact