bumpversion icon indicating copy to clipboard operation
bumpversion copied to clipboard

changing file pointed to by a simlink

Open leventelist opened this issue 7 years ago • 1 comments

I get this error message, when a file is changed by the

[bumpversion:file:simlink_file]

option:

fatal: pathspec 'some/file' is beyond a symbolic link Traceback (most recent call last): File "/usr/bin/bumpversion", line 9, in load_entry_point('bumpversion==0.5.3', 'console_scripts', 'bumpversion')() File "/usr/lib/python3/dist-packages/bumpversion/init.py", line 976, in main vcs.add_path(path) File "/usr/lib/python3/dist-packages/bumpversion/init.py", line 146, in add_path subprocess.check_output(["git", "add", "--update", path]) File "/usr/lib/python3.5/subprocess.py", line 316, in check_output **kwargs).stdout File "/usr/lib/python3.5/subprocess.py", line 398, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['git', 'add', '--update', 'some/file']' returned non-zero exit status 128

I have bumpversion v0.5.3 (using Python v3.5.3)

leventelist avatar Apr 16 '18 07:04 leventelist

See this fork https://github.com/c4urself/bump2version/

sharksforarms avatar Apr 18 '18 22:04 sharksforarms