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

issues to read user.email with --tag #152

Closed
NargiT opened this issue Aug 19, 2020 · 1 comment
Closed

issues to read user.email with --tag #152

NargiT opened this issue Aug 19, 2020 · 1 comment

Comments

@NargiT
Copy link

NargiT commented Aug 19, 2020

hello I am using tox and I try to automate my workflow in order to call bump2version when releasing my app.

I tried with vanilla bump2version --tag patch and this is what i get

release installdeps: bump2version
release installed: bump2version==1.0.0
release run-test-pre: PYTHONHASHSEED='3557119173'
release run-test: commands[0] | bump2version --tag patch

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'username@hostname.(none)')

Doing manually git tag x.y.z work perferctly and my .gitconfig is field correctly for user.email and user.name.

any help would be appreciated.

@NargiT
Copy link
Author

NargiT commented Aug 19, 2020

Looks like the error could come from #124 as we also use pre-commit hook in my company

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

No branches or pull requests

2 participants