Merge pull request #239 from jmbucknall/FixBuild
Fix issue with spaces in username
This commit is contained in:
commit
7cacaeaca1
|
@ -28,12 +28,12 @@ IF NOT EXIST %MSBUILD14_TOOLS_PATH% (
|
|||
|
||||
IF EXIST %CACHED_NUGET% goto restore
|
||||
echo Downloading latest version of NuGet.exe...
|
||||
IF NOT EXIST %LocalAppData%\NuGet md %LocalAppData%\NuGet
|
||||
IF NOT EXIST "%LocalAppData%\NuGet" md "%LocalAppData%\NuGet"
|
||||
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://dist.nuget.org/win-x86-commandline/latest/nuget.exe' -OutFile '%CACHED_NUGET%'"
|
||||
|
||||
:restore
|
||||
IF EXIST "%~dp0src\packages" goto build
|
||||
%CACHED_NUGET% restore %SOLUTION_PATH%
|
||||
"%CACHED_NUGET%" restore %SOLUTION_PATH%
|
||||
|
||||
:build
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ ECHO Created Writer NuGet package.
|
|||
MOVE .\Releases\Setup.exe .\Releases\OpenLiveWriterSetup.exe
|
||||
ECHO Created Open Live Writer setup file.
|
||||
|
||||
%LocalAppData%\Nuget\Nuget.exe pack .\OpenLiveWriter.Install.nuspec -version %dottedVersion% -basepath Releases
|
||||
"%LocalAppData%\Nuget\Nuget.exe" pack .\OpenLiveWriter.Install.nuspec -version %dottedVersion% -basepath Releases
|
||||
ECHO Created Writer Chocolatey Package
|
||||
|
||||
:end
|
||||
|
|
Loading…
Reference in New Issue