Skip to content

Commit

Permalink
oops no git-describe when depth 1
Browse files Browse the repository at this point in the history
  • Loading branch information
gnprice committed Oct 2, 2023
1 parent e771d03 commit 60b19b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/check
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,10 @@ if [ -n "${opt_verbose}" ]; then
echo "Test command: ${orig_cmdline}"
echo "Time now: $(date --utc +'%F %T %z')"
echo
commit_id=$(git log -1 --format=%h --abbrev=9)
commit_height=$(git rev-list --count @)
commit_time=$(TZ=UTC git log -1 --format=%cd --date=iso8601-local)
echo "zulip-flutter $(git describe --tags)${commit_time}"
echo "zulip-flutter ${commit_id} • r${commit_height}${commit_time}"
echo
flutter --version
fi
Expand Down

0 comments on commit 60b19b5

Please sign in to comment.