forked from mia/Aegisub
1e030289ad
Rather than having it be a configurable option, simply build in final release mode if Aegisub is being built from a signed tag, and get the version information from that tag. Drop the version number from the OS X app bundle when not building from a tag as it done everywhere else. Drop the arch suffix since ppc hasn't been tested in years and isn't worth testing as it's only going to get less relevant as time goes on. Remove some redundant definitions in the build system.
9 lines
311 B
Batchfile
9 lines
311 B
Batchfile
cd %~dp0..
|
|
sh build/version.sh ..
|
|
if %ERRORLEVEL% NEQ 0 goto :fail
|
|
goto :eof
|
|
|
|
:fail
|
|
ECHO Aegisub requires that sh and git be on the windows command line path for version checking.
|
|
> build\git_version.h echo #define BUILD_GIT_VERSION_NUMBER 0
|
|
>> build\git_version.h echo #define BUILD_GIT_VERSION_STR "unknown"
|