Skip to content

ni/python-actions v0.2.0

Choose a tag to compare

@bkeryan bkeryan released this 04 Jun 22:15
· 37 commits to main since this release
2c946e7

What's Changed

  • Add the check-project-version action (#5)
    • The check-project-version action 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.
  • Add the update-project-version action (#5)
    • The update-project-version action uses 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-rule and use-dev-suffix to customize the versioning scheme.
      • version-rule specifies the rule for updating the version number. For example, major will update 1.0.0 -> 2.0.0, while patch will update 1.0.0 -> 1.0.1. See the docs for poetry version for the list of rules and their behavior.
      • use-dev-suffix specifies whether to use development versions like 1.0.0.dev0.

New Contributors

Full Changelog: v0.1.0...v0.2.0