pypa-hatch/docs/plugins/version-source/reference.md

768 B

Version source plugins


Known third-party

  • hatch-vcs - uses your preferred version control system (like Git)
  • hatch-nodejs-version - uses the version field of NodeJS package.json files
  • hatch-regex-commit - automatically creates a Git commit and tag after version bumping
  • versioningit - determines version from Git or Mercurial tags, with customizable version formatting

::: hatchling.version.source.plugin.interface.VersionSourceInterface options: members: - PLUGIN_NAME - root - config - get_version_data - set_version