-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
feature-requestNew feature or requestNew feature or request
Milestone
Description
Description
Ensure the following rules are followed for resolving file locations (and document them):
- when specified on the command line:
- relative paths are resolved from the current working directory
- full paths are used as-is
- when specified in the configuration file
- relative paths are resolved from the location of the configuration file
- full paths are used as-is
Option: A formatting option, like {repo_root}
, allows the path to specify it is relative to the code repo's root.
For example:
[[ tool.bumpversion.files ]]
filename = "{repo_root}/mylibrary/__init__.py"
Based on this issue
Metadata
Metadata
Assignees
Labels
feature-requestNew feature or requestNew feature or request