Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed batch files to build setup and zip files.

  • Loading branch information...
commit 448c9f1b0efa18a6622dd1667e7429318dcefc7f 1 parent a458636
rstam authored
Showing with 10 additions and 10 deletions.
  1. +3 −2 Installer/makeinstaller.bat
  2. +7 −8 packages/makepackages.bat
View
5 Installer/makeinstaller.bat
@@ -1,6 +1,6 @@
@ECHO OFF
-SET FullVersion=1.5.0.4566
-SET Version=1.5
+SET FullVersion=1.6.0.4624
+SET Version=1.6
SET Configuration=Release
SET SourceBase=..
@@ -15,3 +15,4 @@ echo Building installer
%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe CSharpDriverInstaller.wixproj
echo Done Building installer v%Version%
+pause
View
15 packages/makepackages.bat
@@ -1,4 +1,4 @@
-set VER=1.5.0.4566
+set VER=1.6.0.4624
set PACKAGES=packages-%VER%
echo Creating %PACKAGES%
@@ -6,17 +6,16 @@ pause
rmdir /s /q %PACKAGES%
mkdir %PACKAGES%
-xcopy /f /d /y ..\DriverSetup\Release\CSharpDriver.msi %PACKAGES%\
-ren %PACKAGES%\CSharpDriver.msi CSharpDriver-%VER%.msi
+xcopy /f /d /y ..\Installer\bin\Release\CSharpDriver-%VER%.msi %PACKAGES%\
-del "Release Notes v.1.5.txt"
-xcopy /f /y "..\Release Notes\Release Notes v1.5.md"
-ren "Release Notes v1.5.md" "Release Notes v1.5.txt"
+del "Release Notes v.1.6.txt"
+xcopy /f /y "..\Release Notes\Release Notes v1.6.md"
+ren "Release Notes v1.6.md" "Release Notes v1.6.txt"
set ZIPEXE="C:\Program Files\7-Zip\7z.exe"
set ZIPFILE=%PACKAGES%\CSharpDriver-%VER%.zip
%ZIPEXE% a %ZIPFILE% ..\License.txt
-%ZIPEXE% a %ZIPFILE% "Release Notes v1.5.txt"
+%ZIPEXE% a %ZIPFILE% "Release Notes v1.6.txt"
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Release\MongoDB.Bson.dll
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Release\MongoDB.Bson.pdb
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Release\MongoDB.Bson.xml
@@ -25,7 +24,7 @@ set ZIPFILE=%PACKAGES%\CSharpDriver-%VER%.zip
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Release\MongoDB.Driver.xml
%ZIPEXE% a %ZIPFILE% ..\Help\CSharpDriverDocs.chm
-del "Release Notes v1.5.txt"
+del "Release Notes v1.6.txt"
echo Created %PACKAGES%
pause
Please sign in to comment.
Something went wrong with that request. Please try again.