kicad.updateScript: account for the bad 6.9.9 tag

This commit is contained in:
Evils 2021-12-23 14:27:57 +01:00
parent cb372c3b88
commit b7f9203059

View file

@ -28,7 +28,7 @@ export TMPDIR=/tmp
latest_tag="$(git ls-remote --tags --sort -version:refname \
https://gitlab.com/kicad/code/kicad.git \
| grep -o 'refs/tags/[0-9]*\.[0-9]*\.[0-9]*$' \
| grep -v ".99" | head -n 1 | cut -d '/' -f 3)"
| grep -v "\.99" | grep -v "\.9\.9" | head -n 1 | cut -d '/' -f 3)"
all_versions=( "${latest_tag}" master )