mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
more vcs integration
This commit is contained in:
parent
fc937ddf8d
commit
181da8c930
3 changed files with 24 additions and 9 deletions
|
|
@ -119,6 +119,11 @@ def _parse_buffer(cfg_buffer: io.StringIO, config_filename: str = "<pycalver.cfg
|
|||
if file_patterns is None:
|
||||
return None
|
||||
|
||||
if tag and not commit:
|
||||
log.error(f"Invalid configuration in {config_filename}")
|
||||
log.error(" pycalver.commit = True required if pycalver.tag = True")
|
||||
return None
|
||||
|
||||
cfg = Config(current_version, tag, commit, file_patterns)
|
||||
|
||||
log.debug(cfg._debug_str())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue