anchor.diff:  GOTO:EOF
   
   :preparePackage
  -CALL:print %trace% "Creating a package ..."
  +CALL:print %debug% "Creating a package ..."
  +
   SET nugetTargetPath=""
   SET nugetSpecPath=""
   SET nugetBasePath=""
  
positive.code: 
  IF %platform% EQU 1 (
  	IF NOT "%destination%"=="" (
  		%nuget% push %nugetOutputPath%\%nugetName%\%nugetName%.%nugetVersion%.nupkg -s %destination%
  	) ELSE (
  		%nuget% push %nugetOutputPath%\%nugetName%\%nugetName%.%nugetVersion%.nupkg
  	)
  )
  IF ERRORLEVEL 1 CALL:error 1 "Failed publishing the %nugetName% nuget package"
  
negative.code: GOTO:EOF
  
  :setNugetApiKey
  CALL:print %warning% "Setting nuget key"
  %nuget% setapikey %publishKey%
  if ERRORLEVEL 1 CALL:error 0 "Failed creating the %nugetName% nuget package"
  GOTO:EOF
  