Git 客户端,采用 C# 编写。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

46 lines
1.1 KiB

@echo off
call DownloadExternals.cmd
rem
rem Update this version number with every release
rem
setlocal
set version=2.50.01
set numericVersion=2.50.01
if not "%APPVEYOR_BUILD_VERSION%"=="" (
set version=%APPVEYOR_BUILD_VERSION%
set numericVersion=%APPVEYOR_BUILD_VERSION%
)
set normal=GitExtensions-%Version%-Setup.msi
set complete=GitExtensions-%Version%-SetupComplete.msi
set msbuild="%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
set output=bin\Release\GitExtensions.msi
set project=Setup.wixproj
set build=%msbuild% %project% /t:Rebuild /p:Version=%version% /p:NumericVersion=%numericVersion% /p:Configuration=Release /nologo /v:m
echo Creating installers for Git Extensions %version%
echo.
echo Removing %normal%
del %normal% 2> nul
echo Removing %complete%
del %complete% 2> nul
echo.
echo Building %normal%
%build% /p:IncludeRequiredSoftware=0
IF ERRORLEVEL 1 EXIT /B 1
copy bin\Release\GitExtensions.msi %normal%
IF ERRORLEVEL 1 EXIT /B 1
echo Building %complete%
%build% /p:IncludeRequiredSoftware=1
IF ERRORLEVEL 1 EXIT /B 1
copy bin\Release\GitExtensions.msi %complete%
IF ERRORLEVEL 1 EXIT /B 1