Skip to content

Commit b896650

Browse files
committed
docs(bug_report): add fallback command if cz version --report is not available
1 parent 8d57306 commit b896650

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ body:
5353
```bash
5454
cz version --report
5555
```
56+
57+
If `cz version --report` is not available, please run the following commands to retrieve your environment information:
58+
59+
```bash
60+
echo "Commitizen Version: $(cz version)"
61+
echo "Python Version: $(python3 -c 'import sys; print(sys.version)')"
62+
echo "Operating System: $(python3 -c 'import platform; print(platform.system())')"
63+
```
5664
placeholder: |
5765
Commitizen Version: 4.0.0
5866
Python Version: 3.13.3 (main, Apr 8 2025, 13:54:08) [Clang 16.0.0 (clang-1600.0.26.6)]

0 commit comments

Comments
 (0)