v1.7.0 - Enhanced Version Management & Validation
π§ AI DevOps Framework v1.7.0 - Enhanced Version Management & Validation
π― What's New in v1.7.0
β¨ Version Synchronization Fixes
- README Badge Fix: Resolved version mismatch where badge showed 1.5.0 while VERSION file and GitHub release were 1.6.0
- Enhanced Regex Patterns: Fixed macOS sed compatibility for version number matching
- Validation Integration: Added comprehensive validation to release process
π§ Enhanced Version Management
- Pre-Release Validation: Release process now validates version consistency before creating releases
- Improved Error Handling: Clear feedback when version updates fail
- Cross-Platform Compatibility: Fixed sed regex patterns for macOS and Linux
- Fail-Safe Releases: Won't create releases with inconsistent version references
π¦ New Tools & Scripts
Standalone Version Validator
.agent/scripts/validate-version-consistency.sh: Comprehensive version validation tool- Color-coded reporting: Clear success/error messages for each file
- Flexible usage: Validate current version or specific version
- Comprehensive coverage: Checks VERSION file, README badge, sonar-project.properties, setup.sh
GitHub Actions Integration
.github/workflows/version-validation.yml: Automated version consistency checks- PR/Push validation: Runs on every push and pull request
- Release readiness: Analyzes commit messages for version bump indicators
- Comprehensive reporting: Shows version status across all framework files
π Enhanced Release Process
The release process now includes:
- Version bumping in VERSION file
- File updates (README badge, sonar-project.properties, setup.sh)
- Validation checks to ensure consistency
- Git tagging (only if validation passes)
- GitHub release creation (only if validation passes)
π Documentation Updates
- Enhanced VERSION-MANAGEMENT.md: Added validation examples and usage
- New RELEASE-PROCESS-IMPROVEMENTS.md: Comprehensive guide to improvements
- Updated examples: Clear usage patterns for all validation tools
π Usage Examples
Version Validation
# Validate current version consistency
./.agent/scripts/validate-version-consistency.sh
# Validate specific version
./.agent/scripts/validate-version-consistency.sh 1.7.0
# Through version manager
./.agent/scripts/version-manager.sh validateEnhanced Release Process
# Complete release with validation
./.agent/scripts/version-manager.sh release minor
# The process now automatically:
# β
Validates version consistency
# β
Updates all version references
# β
Creates releases only when consistentβ Validation Coverage
The enhanced system validates version consistency across:
- β VERSION file: Central version source
- β README.md badge: Version display badge
- β sonar-project.properties: SonarCloud integration
- β setup.sh: Script version header
π Automated Checks
GitHub Actions Integration
- Every push/PR: Validates version consistency automatically
- Release readiness: Analyzes commit messages for version bump indicators
- Comprehensive reporting: Shows status of all version references
- CI/CD integration: Prevents merging with version inconsistencies
Pre-Release Validation
- Automatic validation: Built into release process
- Fail-safe mechanism: Stops release if inconsistencies found
- Clear error messages: Guides developers to fix issues
- Version synchronization: Ensures all references match
π Benefits
- π Consistency Guaranteed: All version references stay synchronized
- π Automated Validation: Catches version mismatches early in CI/CD
- π Clear Reporting: Visual feedback on version status across files
- π§ Developer Friendly: Easy-to-use validation commands
- β‘ CI/CD Integration: Automated checks in GitHub Actions
- π‘οΈ Fail-Safe Releases: Won't create releases with inconsistent versions
π Files Added/Modified
New Files
.agent/scripts/validate-version-consistency.sh- Standalone version validator.github/workflows/version-validation.yml- GitHub Actions workflowdocs/RELEASE-PROCESS-IMPROVEMENTS.md- Comprehensive improvement guide
Enhanced Files
.agent/scripts/version-manager.sh- Added validation and improved regex.agent/scripts/auto-version-bump.sh- Fixed macOS sed compatibilitydocs/VERSION-MANAGEMENT.md- Added validation examplesREADME.md- Fixed version badge from 1.5.0 to 1.7.0
π― Problem Solved
Before v1.7.0:
- VERSION file:
1.6.0β - GitHub Release:
v1.6.0β - README badge:
Version-1.5.0-blueβ
After v1.7.0:
- VERSION file:
1.7.0β - GitHub Release:
v1.7.0β - README badge:
Version-1.7.0-blueβ - All future releases: Guaranteed consistency! π
Full Changelog: v1.6.0...v1.7.0
Copyright Β© Marcus Quinn 2025 - All rights reserved under MIT License
Result: No more version mismatches between README badges and actual releases! The enhanced release process ensures perfect synchronization across all version references.