Skip to content

Commit

Permalink
removes azure stuff , updates build and updates version
Browse files Browse the repository at this point in the history
  • Loading branch information
Shazwazza committed Apr 9, 2015
1 parent f4d3f73 commit 8cc1bba
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 38 deletions.
15 changes: 1 addition & 14 deletions Build-Release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,14 @@ if (-not $?)

$CoreExamineFolder = Join-Path -Path $ReleaseFolder -ChildPath "Examine";
$WebExamineFolder = Join-Path -Path $ReleaseFolder -ChildPath "ExamineWebDemo";
$ExamineAzureFolder = Join-Path -Path $ReleaseFolder -ChildPath "Examine.Azure";

New-Item $CoreExamineFolder -Type directory
New-Item $WebExamineFolder -Type directory
New-Item $ExamineAzureFolder -Type directory

$include = @('*Examine*.dll','*Examine*.pdb','*Lucene*.dll','ICSharpCode.SharpZipLib.dll')
$CoreExamineBinFolder = Join-Path -Path $SolutionRoot -ChildPath "Projects\Examine\bin\Release";
Copy-Item "$CoreExamineBinFolder\*.*" -Destination $CoreExamineFolder -Include $include

$include = @('*Examine*.dll','*Examine*.pdb','*Lucene*.dll', '*Azure*.dll','ICSharpCode.SharpZipLib.dll')
$ExamineAzureBinFolder = Join-Path -Path $SolutionRoot -ChildPath "Projects\Examine.Azure\bin\Release";
Copy-Item "$ExamineAzureBinFolder\*.dll" -Destination $ExamineAzureFolder -Include $include

$ExamineWebDemoFolder = Join-Path -Path $SolutionRoot -ChildPath "Projects\Examine.Web.Demo";
Copy-Item "$ExamineWebDemoFolder\*" -Destination $WebExamineFolder -Recurse
$IndexSet = Join-Path $WebExamineFolder -ChildPath "App_Data\SimpleIndexSet2";
Expand All @@ -69,13 +63,6 @@ $CoreNuSpec = Join-Path -Path $CoreExamineFolder -ChildPath "Examine.nuspec";
$NuGet = Join-Path $SolutionRoot -ChildPath ".nuget\NuGet.exe"
& $NuGet pack $CoreNuSpec -OutputDirectory $ReleaseFolder -Version $ReleaseVersionNumber

$AzureNuSpecSource = Join-Path -Path $BuildFolder -ChildPath "Nuspecs\Examine.Azure\*";
Copy-Item $AzureNuSpecSource -Destination $ExamineAzureFolder
$AzureNuSpec = Join-Path -Path $ExamineAzureFolder -ChildPath "Examine.Azure.nuspec";
$NuGet = Join-Path $SolutionRoot -ChildPath ".nuget\NuGet.exe"
& $NuGet pack $AzureNuSpec -OutputDirectory $ReleaseFolder -Version $ReleaseVersionNumber

""
"Build $ReleaseVersionNumber is done!"
"NuGet packages also created, so if you want to push them just run:"
" nuget push $CoreNuSpec"
"Build $ReleaseVersionNumber is done!"
4 changes: 2 additions & 2 deletions SolutionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
[assembly: AssemblyCulture("")]


[assembly: AssemblyVersion("0.1.61.2941")]
[assembly: AssemblyFileVersion("0.1.61.2941")]
[assembly: AssemblyVersion("0.1.62.2941")]
[assembly: AssemblyFileVersion("0.1.62.2941")]
22 changes: 0 additions & 22 deletions build/Nuspecs/Examine.Azure/Examine.Azure.nuspec

This file was deleted.

Empty file.

0 comments on commit 8cc1bba

Please sign in to comment.