• v4.3.0 b11b6a6f2c

    Fix getVersionDescription() to prioritize version tags over non-version tags (#673)

    Ghost released this 2024-10-07 22:06:50 +00:00 | 6 commits to main since this release

    • 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.

    • Update versioning.ts

    Rewrote getting the description for the last valid tag using rev-list and rev-parse

    • Fix formatting

    • Revert "dist"

    This reverts commit bd58cbedf7e9f6928ab3b7ca6dd858622c5c1f13.

    • Revert "dist"

    This reverts commit bd58cbedf7e9f6928ab3b7ca6dd858622c5c1f13.

    Downloads