build: Restrict tag names when discovering version 75/35575/2
authorRenato Botelho do Couto <renato@netgate.com>
Tue, 8 Mar 2022 18:40:49 +0000 (15:40 -0300)
committerMatthew Smith <mgsmith@netgate.com>
Fri, 11 Mar 2022 19:13:04 +0000 (19:13 +0000)
commitdcd08b278fe366e43decbf1c1029f979985cb37b
treef30752ed176deb904437b572a5de02b293c1f15f
parent91a46cb1ff8d6f6a699df0b61d8119efdb403655
build: Restrict tag names when discovering version

Type: improvement

When `make install-ext-deps` is called, it creates a debian changelog
file and use `git describe` to fill project version.  On downstream
consumers it's possible to have different tags that makes it to end up
using an invalid version on changelog and breaking the installation
process.

Restrict tags to be considered by git-describe to match 'v[0-9]*'
pattern to get it fixed.

Signed-off-by: Renato Botelho do Couto <renato@netgate.com>
Change-Id: Ieabd7b42ac33735ec4d484bed9039ff20c9872f2
build/external/Makefile