forked from BpsLogicBuilder/LogicBuilder.DataComponents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LocalPush.ps1
36 lines (27 loc) · 2.09 KB
/
LocalPush.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$VERSION = "4.0.0-preview01"
$SOLUTION_PATH = "C:\.NetStandardGit\LogicBuilder\LogicBuilder.DataComponents"
#Write-Host "Project Path: $SOLUTION_PATH\$($PROJECT)\$($PROJECT).csproj"
#Write-Host "Package Path: $SOLUTION_PATH\$($PROJECT)\bin\Release\$($PROJECT).$($VERSION).nupkg"
$PROJECT = "LogicBuilder.Data"
msbuild /t:pack "$SOLUTION_PATH\$($PROJECT)\$($PROJECT).csproj" /p:Configuration=Release
nuget add "$SOLUTION_PATH\$($PROJECT)\bin\Release\$($PROJECT).$($VERSION).nupkg" -source C:\LocalNuget\packages
$PROJECT = "LogicBuilder.Domain"
msbuild /t:pack "$SOLUTION_PATH\$($PROJECT)\$($PROJECT).csproj" /p:Configuration=Release
nuget add "$SOLUTION_PATH\$($PROJECT)\bin\Release\$($PROJECT).$($VERSION).nupkg" -source C:\LocalNuget\packages
$PROJECT = "LogicBuilder.Structures"
msbuild /t:pack "$SOLUTION_PATH\$($PROJECT)\$($PROJECT).csproj" /p:Configuration=Release
nuget add "$SOLUTION_PATH\$($PROJECT)\bin\Release\$($PROJECT).$($VERSION).nupkg" -source C:\LocalNuget\packages
$PROJECT = "LogicBuilder.Kendo.ExpressionExtensions"
msbuild /t:pack "$SOLUTION_PATH\$($PROJECT)\$($PROJECT).csproj" /p:Configuration=Release
nuget add "$SOLUTION_PATH\$($PROJECT)\bin\Release\$($PROJECT).$($VERSION).nupkg" -source C:\LocalNuget\packages
$PROJECT = "LogicBuilder.Expressions.Utils"
msbuild /t:pack "$SOLUTION_PATH\$($PROJECT)\$($PROJECT).csproj" /p:Configuration=Release
nuget add "$SOLUTION_PATH\$($PROJECT)\bin\Release\$($PROJECT).$($VERSION).nupkg" -source C:\LocalNuget\packages
$PROJECT = "LogicBuilder.Expressions.EntityFrameworkCore"
msbuild /t:pack "$SOLUTION_PATH\$($PROJECT)\$($PROJECT).csproj" /p:Configuration=Release
nuget add "$SOLUTION_PATH\$($PROJECT)\bin\Release\$($PROJECT).$($VERSION).nupkg" -source C:\LocalNuget\packages
$PROJECT = "LogicBuilder.EntityFrameworkCore.SqlServer"
msbuild /t:pack "$SOLUTION_PATH\$($PROJECT)\$($PROJECT).csproj" /p:Configuration=Release
nuget add "$SOLUTION_PATH\$($PROJECT)\bin\Release\$($PROJECT).$($VERSION).nupkg" -source C:\LocalNuget\packages
$PROJECT = "LogicBuilder.Kendo.ExpressionExtensions.IntegrationTests"
dotnet test "$SOLUTION_PATH\$($PROJECT)\$($PROJECT).csproj"