This is the date of the last revision and _not_ the compile date.
Should help with sorting as well as eyeballing versions.
In addition, the Windows binary has been renamed from XBMCSetup-Rev_[revision]
to XBMCSetup-[date-revision].
Thanks to CrystalP and jcarroll for the Windows help.
<description>XBMC XBE BUILD Version</description>
<posx>750</posx>
<posy>400</posy>
- <width>700</width>
+ <width>730</width>
<label>144</label>
<align>right</align>
<textcolor>blue</textcolor>
fi
if test "$HAVE_GIT" = "yes"; then
- GIT_REV=$(git rev-parse --short HEAD)
+ GIT_REV=$(git --no-pager log --abbrev=7 -1 --pretty=format:"%h %ci" HEAD | awk '{gsub("-", "");print $2"-"$1}')
fi
if test "$GIT_REV" = ""; then
GIT_REV="Unknown"
call genNsisIncludes.bat
ECHO ------------------------------------------------------------
CALL extract_git_rev.bat
- SET GIT_REV=_%GIT_REV%
- SET XBMC_SETUPFILE=XBMCSetup-Rev%GIT_REV%-%target%.exe
+ SET XBMC_SETUPFILE=XBMCSetup-%GIT_REV%-%target%.exe
ECHO Creating installer %XBMC_SETUPFILE%...
IF EXIST %XBMC_SETUPFILE% del %XBMC_SETUPFILE% > NUL
rem get path to makensis.exe from registry, first try tab delim
;Name and file
Name "XBMC"
- OutFile "XBMCSetup-Rev${xbmc_revision}-${xbmc_target}.exe"
+ OutFile "XBMCSetup-${xbmc_revision}-${xbmc_target}.exe"
XPStyle on
SET oldCurrentDir=%CD%
CD ..\..
-FOR /F "tokens=1 delims= " %%A IN ('%GITEXE% rev-parse --short HEAD') DO SET GIT_REV=%%A
+FOR /F "tokens=1-4 delims=-" %%A IN ('"%GITEXE% --no-pager log --abbrev=7 -1 --date=short --pretty=format:"%%cd-%%h""') DO SET GIT_REV=%%A%%B%%C-%%D
CD %oldCurrentDir%
:done
1) Run BuildSetup.bat in project\Win32BuildSetup
2) Watch the screen, maybe you're asked for input
3) Wait... Wait... Wait...
-You should now have XBMCSetup-Rev<svnrevisionnr>.exe file.
+You should now have XBMCSetup-<lastcommitdate-gitrev>.exe file.