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

bumpversion --help causes assertion, when in git-workdir #5

Closed
jenisys opened this issue Jun 30, 2013 · 3 comments
Closed

bumpversion --help causes assertion, when in git-workdir #5

jenisys opened this issue Jun 30, 2013 · 3 comments

Comments

@jenisys
Copy link
Contributor

jenisys commented Jun 30, 2013

VERSION: bumpversion 0.3.0

The new version hast the following problem:

$ bumpversion -h
Traceback (most recent call last):
  File "/.../virtualenv/bumpversion.example/bin/bumpversion", line 8, in <module>
    load_entry_point('bumpversion==0.3.0', 'console_scripts', 'bumpversion')()
  File "/.../virtualenv/bumpversion.example/lib/python2.7/site-packages/bumpversion/__init__.py", line 226, in main
    context=dict(list(prefixed_environ().items()) + list(vcs_info.items()))
  File "/.../virtualenv/bumpversion.example/lib/python2.7/site-packages/bumpversion/__init__.py", line 148, in attempt_version_bump
    assert bumped
AssertionError

This problem exists only in a directory under bump version (and git) control.
When I go one directory level up, everything is fine.

BACKGROUND INFO:
I created a virtualenv w/ bumpversion 0.2.1.
There I create a git repository to explore bumpversion.
Now I upgraded the virtualenv to version 0.3.0.

@peritus
Copy link
Owner

peritus commented Jun 30, 2013

Ouch. Will fix that.

@peritus
Copy link
Owner

peritus commented Jun 30, 2013

Thanks for the report!

@peritus peritus closed this as completed in 67669a4 Jul 1, 2013
@peritus
Copy link
Owner

peritus commented Jul 1, 2013

this is part of v0.3.1 (on PyPI as of now)

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