X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3ad48540d4d77f50cc62d16acb78f17019ef431d..8130eba4d127d1093f55334998f25230f0731a92:/tools/mkversion.pl?ds=sidebyside diff --git a/tools/mkversion.pl b/tools/mkversion.pl index 19616441..fe6ee0c7 100644 --- a/tools/mkversion.pl +++ b/tools/mkversion.pl @@ -5,18 +5,20 @@ # -- Henryk Plötz 2009-09-28 # Modified april 2014 because of the move to github. # --- Martin Holst Swende - +# Modified january 2016 to work with Travis-CI +# --- iceman # Clear environment locale so that git will not use localized strings $ENV{'LC_ALL'} = "C"; $ENV{'LANG'} = "C"; +my $githistory = `git fetch --all`; my $gitversion = `git describe --dirty`; my $gitbranch = `git rev-parse --abbrev-ref HEAD`; my $clean = 2; my @compiletime = gmtime(); -my $fullgitinfo = $gitbranch . '/' . $gitversion; +my $fullgitinfo = 'iceman' . $gitbranch . '/' . $gitversion; $fullgitinfo =~ s/(\s)//g;