check-version-before-release
Version updated for https://github.com/digicatapult/check-version to version v1.5.28.
- This action is used across all versions by 35 repositories.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action verifies that the version specified in package.json, package-lock.json, Cargo.toml, or pyproject.toml matches across files and is higher than the latest published tag based on semantic versioning rules. It automates version consistency checks and ensures proper version progression for npm, Cargo, or Poetry-managed projects, reducing the risk of deployment errors. Key features include identifying whether a version is new or a prerelease and providing metadata like build date and release tags.