File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
)
5
5
6
6
function Activate () {
7
+ $msbuildPath = " C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe"
8
+ $solutionPath = (Resolve-Path " .\src\Watts\Watts.csproj" )
9
+ & $msbuildPath / t:Build / m / nologo / verbosity:quiet / p:Configuration= Release $solutionPath
10
+
7
11
$confirmation = Read-Host - Prompt " Are you sure you want to push v$NuspecVersion (y/n)"
8
12
if (! ($confirmation.ToLower () -eq " y" ))
9
13
{
10
14
return
11
15
}
12
16
13
- $msbuildPath = " C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe"
14
- $solutionPath = (Resolve-Path " .\src\Watts\Watts.csproj" )
15
- & $msbuildPath / t:Build / m / nologo / verbosity:quiet / p:Configuration= Release $solutionPath
16
-
17
17
nuget pack .\Watts.nuspec
18
18
nuget push " .\WebApiToTypeScript.$NuspecVersion .nupkg" - Source https:// www.nuget.org/ api/ v2/ package
19
19
You can’t perform that action at this time.
0 commit comments