Commit Graph
3 Commits
Author SHA1 Message Date
Boris Proshin bd58cbedf7 Fix formatting 2024-10-05 14:59:19 +03:00
Boris Proshin b80318f233 Update versioning.ts
Rewrote getting the description for the last valid tag using `rev-list` and `rev-parse`
2024-10-04 09:51:57 +03:00
Boris Proshin da6189bd7b Fix getVersionDescription() to prioritize version tags over non-version tags
This fix modifies the getVersionDescription() method to ensure it only considers valid version tags when describing the current version. It retrieves all tags merged into the current branch, filters them based on a version-compatible regex, and uses the most recent valid version tag for description. If no valid tags are found, it falls back to the default description behavior. This resolves the issue of incorrect tags being used when multiple tags are present.
2024-10-03 15:21:19 +03:00