Skip to content

feat(release): enhance automation, branch validation, and multi-language versioning#63

Merged
thomas-vilte merged 4 commits into
masterfrom
dev
Dec 23, 2025
Merged

feat(release): enhance automation, branch validation, and multi-language versioning#63
thomas-vilte merged 4 commits into
masterfrom
dev

Conversation

@thomas-vilte

@thomas-vilte thomas-vilte commented Dec 23, 2025

Copy link
Copy Markdown
Owner

Description

This PR significantly upgrades the release automation engine by implementing stricter safety checks, automated version file detection, and a more robust error handling framework.

Key improvements include:

  • Branch Validation: Enforces that release operations (create, publish, generate) only occur on main or master branches.
  • Smart Version Detection: Implemented a recursive search and pattern-matching system that automatically identifies version files for Go, Python, JavaScript, Rust, Java, PHP, and Ruby projects.
  • Enhanced Error Handling: Refactored the AppError system to support wrapped errors and metadata context (e.g., stderr output, file paths) for better debugging.
  • Git Service Improvements: Added automatic remote tag fetching and improved parsing of semantic versioning tags from remote origins.

Fixes # (issue)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

I have added extensive unit tests covering the new git service methods, the recursive file search logic, and the enhanced error context system.

  • Unit tests
  • Integration tests
  • Manual test: Verified branch validation and version file detection in local Go and Python test repositories.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@thomas-vilte thomas-vilte changed the title Dev feat(release): enhance automation, branch validation, and multi-language versioning Dec 23, 2025
@thomas-vilte thomas-vilte added feature New features refactor Code restructuring or cleaning without functional changes test Testing, trials, and coverage labels Dec 23, 2025
@thomas-vilte
thomas-vilte merged commit 5405aa5 into master Dec 23, 2025
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New features refactor Code restructuring or cleaning without functional changes test Testing, trials, and coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant