Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,17 @@ A clear and concise description of what the bug is.

## Platform

Please provide details about the environment you are using, including the following:
Please provide details about the environment you are using (run `scripts/collect_env.sh`).

Hint: In case you cannot run script due to permissions, try `chmod u+x scripts/collect_env.sh`, then run again.

<!--
Example output:

rustc 1.81.0 (eeb90cda1 2024-09-04)
Orchestrator version: 1.0.0 (279934c)
-->

- Interpreter version:
- Library version:

## Sample Code

Expand Down
9 changes: 9 additions & 0 deletions scripts/collect_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#/usr/bin/env sh

rustc --version

ORCHESTRATOR_VERSION=$(git tag --points-at HEAD)
if [ -z "$ORCHESTRATOR_VERSION" ]; then
ORCHESTRATOR_VERSION="No tag associated"
fi
echo "Orchestrator version: $ORCHESTRATOR_VERSION ($(git log -1 --pretty=format:'%h'))"
Loading