Skip to content

Commit 5eb82cd

Browse files
committed
Add useful output
1 parent f4ebfe5 commit 5eb82cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/update_version.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ def update_and_verify_version(new_version):
4848

4949
print('Git diff verification passed: 1 line added and 1 line deleted.')
5050

51+
# Show diff
52+
diff_result = subprocess.run(['git', 'diff', '--color=always', file_path], capture_output=True, text=True, check=True)
53+
print('Git diff output:\n', diff_result.stdout)
54+
5155
except subprocess.CalledProcessError as e:
5256
print(f"Error during git diff verification: {e}")
5357
sys.exit(1)

0 commit comments

Comments
 (0)