diff options
Diffstat (limited to 'nuget.package/build.nuget.package.cmd')
-rw-r--r-- | nuget.package/build.nuget.package.cmd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nuget.package/build.nuget.package.cmd b/nuget.package/build.nuget.package.cmd index e36c3f15..6def1d6d 100644 --- a/nuget.package/build.nuget.package.cmd +++ b/nuget.package/build.nuget.package.cmd @@ -3,6 +3,11 @@ SET BASEDIR=%~dp0 SET SRCDIR=%BASEDIR%..\LibGit2Sharp\ SET CommitSha=%~1 +IF "%CommitSha%" == "" ( + ECHO "Please provide the Libgit2Sharp commit Sha this package is being built from." + EXIT /B 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%" |