ci: fix `git describe`

git describe is used for version string creation, but it had to be
reverted in commit 69da6ba because it was broken in CI builds.
Azure Pipelines and Drone perform shallow clones by default.
This change reconfigures them to fetch history and tags. It adds tens of
seconds, which is negligible compared to overall build and test time.

Related: #6466, #6509, #7601
993f4b5a06Jay Petacat committed on 1/2/2021, 3:41:39 AM· committed by Andrew Kelleyparentd3ecbbe
5 files changedLine totals unavailable