Fixes when determining version from git tag

- corrected sorting 0.2.10 > 0.2.2
8 jobs for release/0.2.10 in 5 minutes and 22 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Test
passed #354870
cuda docker
build-documentation

00:00:49

passed #354869
cuda docker
flake8-lint

00:00:16

passed #354866
docker
minimal-conda

00:00:20

passed #354867
docker
minimal-sympy-master

00:01:03

passed #354864
win
minimal-windows

00:01:42

manual #354868
AVX cuda docker allowed to fail manual
pycodegen-integration
passed #354863
AVX cuda docker
tests-and-coverage

00:02:33

77.03%
passed #354865
AVX cuda docker
ubuntu

00:05:21