Skip to content

Commit

Permalink
Now accepts 'y' as well as 'Y', and opens web browser to package status
Browse files Browse the repository at this point in the history
after pushing to nuget
  • Loading branch information
lassevk committed Apr 24, 2017
1 parent 2cc4199 commit 7a737bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ echo=
echo================================================
set /P PUSHYESNO=Push package to nuget? [y/N]
if "%PUSHYESNO%" == "Y" GOTO PUSH
if "%PUSHYESNO%" == "y" GOTO PUSH
exit /B 0

:PUSH
nuget push %PROJECT%.%VERSION%%SUFFIX%.nupkg -Source https://www.nuget.org/api/v2/package
if errorlevel 1 goto error
git tag version/%VERSION%%SUFFIX%
if errorlevel 1 goto error
start "" "https://www.nuget.org/packages/%PROJECT%/"
exit /B 0

:error
Expand Down

0 comments on commit 7a737bf

Please sign in to comment.