Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ee1c6f8

Browse files
committed
fix(bump): log git commit stderr and stdout during bump
warnings may exist so this change just prints everything.
1 parent 3e19f16 commit ee1c6f8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎commitizen/commands/bump.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,13 @@ def __call__(self): # noqa: C901
230230
c = git.commit(message, args=self._get_commit_args())
231231
if c.return_code != 0:
232232
raise BumpCommitFailedError(f'2nd git.commit error: "{c.err.strip()}"')
233+
234+
if c.out:
235+
out.write("git commit stdout: " + c.out)
236+
237+
if c.err:
238+
out.write("git commit stderr: " + c.err)
239+
233240
c = git.tag(
234241
new_tag_version,
235242
signed=self.bump_settings.get("gpg_sign", False)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /