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 44)
55
66function 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+
711 $confirmation = Read-Host - Prompt " Are you sure you want to push v$NuspecVersion (y/n)"
812 if (! ($confirmation.ToLower () -eq " y" ))
913 {
1014 return
1115 }
1216
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-
1717 nuget pack .\Watts.nuspec
1818 nuget push " .\WebApiToTypeScript.$NuspecVersion .nupkg" - Source https:// www.nuget.org/ api/ v2/ package
1919
You can’t perform that action at this time.
0 commit comments