From fa22c310d2fb8fe26f377e8e1d4ca6c1314502ab Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Sat, 20 Oct 2018 23:27:23 +0200 Subject: [PATCH] Fix bad version tag The 3.1.0 release has not been tagged with an annotated tag, therefore `git describe` ignores it and marks the firmware as 3.0.1. --- tools/mkversion.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkversion.pl b/tools/mkversion.pl index 19616441..f40da104 100644 --- a/tools/mkversion.pl +++ b/tools/mkversion.pl @@ -11,7 +11,7 @@ $ENV{'LC_ALL'} = "C"; $ENV{'LANG'} = "C"; -my $gitversion = `git describe --dirty`; +my $gitversion = `git describe --dirty --tags`; my $gitbranch = `git rev-parse --abbrev-ref HEAD`; my $clean = 2; my @compiletime = gmtime();