check-version-before-release
Version updated for https://github.com/digicatapult/check-version to version v1.5.50.
- This action is used across all versions by 35 repositories.
Action Type
This is a Node action using Node version 24.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action automates version validation for projects using npm, Cargo, or Poetry by comparing the version specified in the project files (e.g., package.json, Cargo.toml, pyproject.toml) with the latest published tag. It ensures the local version is consistent across files and is higher than the most recent tag, helping to maintain version control and prevent accidental downgrades or duplicate releases. Key capabilities include support for multiple package managers, semantic versioning checks, and configurable behavior for handling version mismatches.