ni/python-actions v0.2.0
What's Changed
- Add the
check-project-versionaction (#5)- The
check-project-versionaction uses Poetry to get the version of a Python project and checks that it matches an expected version. - You can use this action in your project's publish workflow to verify that the project version matches the GitHub release tag.
- By default, this action checks against
github.ref_name, which is the GitHub release tag for GitHub release events.
- The
- Add the
update-project-versionaction (#5)- The
update-project-version actionuses Poetry to update the version of a Python project and creates a pull request to modify its pyproject.toml file. - You can use this action in your project's publish workflow to update the version number for the next release or pre-release.
- You can specify
version-ruleanduse-dev-suffixto customize the versioning scheme.version-rulespecifies the rule for updating the version number. For example,majorwill update 1.0.0 -> 2.0.0, whilepatchwill update 1.0.0 -> 1.0.1. See the docs for poetry version for the list of rules and their behavior.use-dev-suffixspecifies whether to use development versions like 1.0.0.dev0.
- The
New Contributors
Full Changelog: v0.1.0...v0.2.0