Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing file pointed to by a simlink #180

Open
leventelist opened this issue Apr 16, 2018 · 1 comment
Open

changing file pointed to by a simlink #180

leventelist opened this issue Apr 16, 2018 · 1 comment

Comments

@leventelist
Copy link

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)

@sharksforarms
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants