actions-marketplace-validations/Check Python Version

Check the release tag matches the library version before deploy

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
version_file_pathPath to python file containing the version number stringyes
version_patternCustom regular expression to find version with, defaults to `(?i)^(__version__|VERSION) *= *([\'"])v?(?P<version>.+?)\2` no
test_github_refVersion to check, defaults to using `GITHUB_REF` - this is mostly for testingno
skip_env_checkSet to "true" to skip environment variable (e.g. `GITHUB_REF`, or `input.test_github_ref`) check, mostly useful when you want to use outputs in later steps no
namedescription
IS_PRERELEASEEither `'true'` or `'false'` whether the version is a pre-release
VERSIONThe "pretty" version string
VERSION_MAJOR_MINORMajor and minor version numbers, e.g. `1.2.3` would output `1.2`