mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Display git info in pm3_tests.sh only if doable
This should fix the need for https://gitlab.com/kalilinux/packages/proxmark3/-/commit/da550dbec709d1a288ef310776a402c8fdd68e2e#6ab816ab956024f7eb2767197fe7fa5a5d0c5b32
This commit is contained in:
+7
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user