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

Receiving conversion TypeError when trying to bump version #16

Open
tmr08c opened this issue Nov 24, 2017 · 0 comments
Open

Receiving conversion TypeError when trying to bump version #16

tmr08c opened this issue Nov 24, 2017 · 0 comments
Labels

Comments

@tmr08c
Copy link
Owner

tmr08c commented Nov 24, 2017

Sample backtrace when trying to bump a version:

> versionify bump patch
/Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/tag.rb:11:in `Integer': invalid value for Integer(): "" (ArgumentError)
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/tag.rb:11:in `initialize'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/tag.rb:30:in `new'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/tag.rb:30:in `from_name'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/tag.rb:21:in `block in current'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/tag.rb:21:in `map'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/tag.rb:21:in `current'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/bumper.rb:37:in `current_tag'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/bumper.rb:41:in `current_major_version'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/patch_version_bumper.rb:11:in `tag'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/version_bumper/bumper.rb:21:in `bump'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/lib/git_version_bumper/cli.rb:28:in `bump'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/gems/git_version_bumper-1.0.2/bin/versionify:7:in `<top (required)>'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/bin/versionify:23:in `load'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/bin/versionify:23:in `<main>'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/bin/ruby_executable_hooks:15:in `eval'
        from /Users/troyrosenberg/.rvm/gems/ruby-2.1.9@dash/bin/ruby_executable_hooks:15:in `<main>'
@tmr08c tmr08c added the bug label Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant