Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (17 sloc) 0.52 kB
SETLOCAL
SET BASEDIR=%~dp0
SET SRCDIR=%BASEDIR%..\LibGit2Sharp\
SET CommitSha=%~1
REM the nuspec file needs to be next to the csproj, so copy it there during the pack operation
COPY "%BASEDIR%LibGit2Sharp.nuspec" "%SRCDIR%"
PUSHD "%BASEDIR%"
DEL *.nupkg
CMD /c "..\build.libgit2sharp.cmd %CommitSha%"
IF %ERRORLEVEL% NEQ 0 GOTO EXIT
"..\Lib\NuGet\NuGet.exe" Pack -Symbols "%SRCDIR%LibGit2Sharp.csproj" -Prop Configuration=Release
:EXIT
DEL "%SRCDIR%LibGit2Sharp.nuspec"
ENDLOCAL
POPD
PAUSE
EXIT /B %ERRORLEVEL%
Jump to Line
Something went wrong with that request. Please try again.