check-version-before-release
Version updated for https://github.com/digicatapult/check-version to version v1.5.27.
- 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 compares the version numbers in package.json, package-lock.json, Cargo.toml, or pyproject.toml with the latest published tag to ensure the local version is higher, following semantic versioning rules. It automates version consistency checks across different package managers (npm, Cargo, Poetry) and validates version updates before publishing. Key features include verifying version alignment, detecting pre-releases, and determining if the current version is new.