Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix version comparison to handle pre-release versions correctly This commit fixes issue #64 by updating the GitHub Actions workflow to correctly compare versions according to Semantic Versioning (SemVer) rules. Previously, the workflow used `sort -V` for version comparison, which did not properly handle pre-release identifiers like `-rc2`. As a result, it failed to recognize that a final release (e.g., `v4.5.0`) is greater than its pre-release versions (e.g., `v4.5.0-rc2`). The fix involves integrating the `madhead/semver-utils` GitHub Action to accurately compare versions, ensuring that the workflow triggers the build and tagging process when a new final version is released. Thank you to @jimsihk for reporting this issue and helping us improve our workflow! Closes #64
- Loading branch information