File tree Expand file tree Collapse file tree 1 file changed +1
-0
lines changed
Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Original file line number Diff line number Diff line change 4747 - ps : Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GitHubToken):x-oauth-basic@github.com`n"
4848 - git config --global user.email "%GitHubUserEmail%"
4949 - git config --global user.name "%GitHubUserName%"
50+ - ps : " $headers = if($env:APPVEYOR_PULL_REQUEST_NUMBER){\n @{\n \" Authorization\" = \" Basic $env:GitRestAuth\"\n \" Content-type\" = \" application/json\"\n }\n\n $pr = Invoke-RestMethod -Uri \" https://api.github.com/repos/nanoframework/nf-interpreter/pulls/$env:APPVEYOR_PULL_REQUEST_NUMBER\" -Headers $headers -Method GET\n\n if($pr.user.login -eq \" nfbot\" -and $pr.body -match \"\\ [version update\\ ]\" )\n {\n # commit was from nfbot AND it's taged as a [version update]\n # OK to skip AppVeyor build \n \" Version update only. Skipping build.\" | Write-Host -BackgroundColor White -ForegroundColor Blue\n Exit-AppveyorBuild\n } }\n "
5051
5152install :
5253 - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
You can’t perform that action at this time.
0 commit comments