-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIncreaseVersionNumber.bat
23 lines (20 loc) · 1.01 KB
/
IncreaseVersionNumber.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
REM USE IT ALWAYS IN DEBUG MODE FOR DEVELOPMENT BRANCH.
REM USE IT ALWAYS IN RELEASE MODE FOR MASTER BRANCH.
REM ENVIRONMENT=DEBUG;ENVIRONMENT=RELEASE
SET ENVIRONMENT=RELEASE
SET SolutionDir=D:\Desarrollo\TFS-Git\Personal\!ProyectosGlobales\AssemblyInfoUtil\
REM "bin\Debug";bin\Release
SET OutDir=""
IF DEBUG==%ENVIRONMENT% (
SET OutDir=bin\Debug\
) ELSE (
SET OutDir=bin\Release\
)
IF DEBUG==%ENVIRONMENT% (
"%SolutionDir%AssemblyInfoUtil\%OutDir%GMS.Utils.AssemblyInfoUtil.exe" "%SolutionDir%AssemblyInfoUtil\Properties\AssemblyInfo.cs" -inc:4
"%SolutionDir%AssemblyInfoUtil\%OutDir%GMS.Utils.AssemblyInfoUtil.exe" "%SolutionDir%GMS.Util.AssemblyInfoUtil.NuGet1\Properties\VersionInfo.cs" -inc:4
) ELSE (
"%SolutionDir%AssemblyInfoUtil\%OutDir%GMS.Utils.AssemblyInfoUtil.exe" "%SolutionDir%AssemblyInfoUtil\Properties\AssemblyInfo.cs" -inc:3 -rst:4
"%SolutionDir%AssemblyInfoUtil\%OutDir%GMS.Utils.AssemblyInfoUtil.exe" "%SolutionDir%GMS.Util.AssemblyInfoUtil.NuGet1\Properties\VersionInfo.cs" -inc:3 -rst:4
)
timeout 3