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

Changelog fails when bump uses -d to set a directory. #35

Closed
sergiotejon opened this issue Sep 16, 2024 · 1 comment
Closed

Changelog fails when bump uses -d to set a directory. #35

sergiotejon opened this issue Sep 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sergiotejon
Copy link
Contributor

gommitizen bump -d path/to/project -I PATCH -c

This command will fail.

Bumping version with increment: PATCH
## Running bump in project path/to/project

Version bumped from X.X.X to X.X.X
Error updating Git: error: the file path/to/project/CHANGELOG.md could not be added: exit status 128

        ** gommitizen must be run in the root path of the git repository

Error committing changes with Git: error: the file path/to/project/CHANGELOG.md could not be added: exit status 128

        ** gommitizen must be run in the root path of the git repository
@sergiotejon sergiotejon added the bug Something isn't working label Sep 16, 2024
@sergiotejon
Copy link
Contributor Author

@jaimeph is this solved already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants