Skip to content

Commit

Permalink
Updated deploy.cmd
Browse files Browse the repository at this point in the history
Renamed the GITPASSWOR  to GITHUBPASSWORD.
  • Loading branch information
Naveen committed Oct 16, 2015
1 parent e28c773 commit 30987f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ cls

SET TARGET="CreatePackages"
SET GITOWNER="octokit"
SET GITPASSWORD=""
SET GITHUBPASSWORD=""
SET NUGETKEY=""


IF NOT [%1]==[] (set TARGET="%1")

IF NOT [%2]==[] (set GITOWNER="%2")

IF NOT [%3]==[] (set GITPASSWORD="%3")
IF NOT [%3]==[] (set GITHUBPASSWORD="%3")

IF NOT [%4]==[] (set NUGETKEY="%4")

if [%4]==[] (
"tools\FAKE.Core\tools\Fake.exe" "deploy.fsx" "target=%TARGET%" "gitOwner=%GITOWNER%" "github-pw=%GITPASSWORD%"
"tools\FAKE.Core\tools\Fake.exe" "deploy.fsx" "target=%TARGET%" "gitOwner=%GITOWNER%" "github-pw=%GITHUBPASSWORD%"
) else (
"tools\FAKE.Core\tools\Fake.exe" "deploy.fsx" "target=%TARGET%" "gitOwner=%GITOWNER%" "github-pw=%GITPASSWORD%" "nugetkey=%NUGETKEY%")
"tools\FAKE.Core\tools\Fake.exe" "deploy.fsx" "target=%TARGET%" "gitOwner=%GITOWNER%" "github-pw=%GITHUBPASSWORD%" "nugetkey=%NUGETKEY%")

:Quit
exit /b %errorlevel%

0 comments on commit 30987f8

Please sign in to comment.