Use version from git

This commit is contained in:
Martin Lund 2024-10-25 19:35:13 +02:00
parent 330e99381e
commit ab678e6c88
5 changed files with 17 additions and 5 deletions

View file

@ -23,6 +23,7 @@
#include <regex.h>
#include <getopt.h>
#include <errno.h>
#include "git-version.h"
#include "config.h"
#include "misc.h"
#include "print.h"
@ -1085,7 +1086,7 @@ void options_parse(int argc, char *argv[])
break;
case 'v':
printf("tio v%s\n", VERSION);
printf("tio %s\n", GIT_VERSION);
exit(EXIT_SUCCESS);
break;