mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
Display git info in pm3_tests.sh only if doable
This should fix the need for da550dbec7 (6ab816ab956024f7eb2767197fe7fa5a5d0c5b32)
This commit is contained in:
parent
6f6a3161a9
commit
1cc1a3857f
1 changed files with 7 additions and 5 deletions
|
@ -216,11 +216,13 @@ if [ "$TRAVIS_COMMIT" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
echo -n "git branch: "
|
||||
git describe --all
|
||||
echo -n "git sha: "
|
||||
git rev-parse HEAD
|
||||
echo ""
|
||||
if command -v git >/dev/null && git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
||||
echo -n "git branch: "
|
||||
git describe --all
|
||||
echo -n "git sha: "
|
||||
git rev-parse HEAD
|
||||
echo ""
|
||||
fi
|
||||
|
||||
while true; do
|
||||
if $TESTALL || $TESTCOMMON; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue