Skip to content

Commit 448c9f1

Browse files
author
rstam
committed
Changed batch files to build setup and zip files.
1 parent a458636 commit 448c9f1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Diff for: Installer/makeinstaller.bat

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ECHO OFF
2-
SET FullVersion=1.5.0.4566
3-
SET Version=1.5
2+
SET FullVersion=1.6.0.4624
3+
SET Version=1.6
44
SET Configuration=Release
55
SET SourceBase=..
66

@@ -15,3 +15,4 @@ echo Building installer
1515
%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe CSharpDriverInstaller.wixproj
1616

1717
echo Done Building installer v%Version%
18+
pause

Diff for: packages/makepackages.bat

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
1-
set VER=1.5.0.4566
1+
set VER=1.6.0.4624
22
set PACKAGES=packages-%VER%
33

44
echo Creating %PACKAGES%
55
pause
66

77
rmdir /s /q %PACKAGES%
88
mkdir %PACKAGES%
9-
xcopy /f /d /y ..\DriverSetup\Release\CSharpDriver.msi %PACKAGES%\
10-
ren %PACKAGES%\CSharpDriver.msi CSharpDriver-%VER%.msi
9+
xcopy /f /d /y ..\Installer\bin\Release\CSharpDriver-%VER%.msi %PACKAGES%\
1110

12-
del "Release Notes v.1.5.txt"
13-
xcopy /f /y "..\Release Notes\Release Notes v1.5.md"
14-
ren "Release Notes v1.5.md" "Release Notes v1.5.txt"
11+
del "Release Notes v.1.6.txt"
12+
xcopy /f /y "..\Release Notes\Release Notes v1.6.md"
13+
ren "Release Notes v1.6.md" "Release Notes v1.6.txt"
1514

1615
set ZIPEXE="C:\Program Files\7-Zip\7z.exe"
1716
set ZIPFILE=%PACKAGES%\CSharpDriver-%VER%.zip
1817
%ZIPEXE% a %ZIPFILE% ..\License.txt
19-
%ZIPEXE% a %ZIPFILE% "Release Notes v1.5.txt"
18+
%ZIPEXE% a %ZIPFILE% "Release Notes v1.6.txt"
2019
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Release\MongoDB.Bson.dll
2120
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Release\MongoDB.Bson.pdb
2221
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Release\MongoDB.Bson.xml
@@ -25,7 +24,7 @@ set ZIPFILE=%PACKAGES%\CSharpDriver-%VER%.zip
2524
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Release\MongoDB.Driver.xml
2625
%ZIPEXE% a %ZIPFILE% ..\Help\CSharpDriverDocs.chm
2726

28-
del "Release Notes v1.5.txt"
27+
del "Release Notes v1.6.txt"
2928

3029
echo Created %PACKAGES%
3130
pause

0 commit comments

Comments
 (0)