File tree 1 file changed +0
-2
lines changed
1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 41
41
-
ps :
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GitHubToken):[email protected] `n"
42
42
- git config --global user.email "%GitHubUserEmail%"
43
43
- git config --global user.name "%GitHubUserName%"
44
- - 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/$env:APPVEYOR_REPO_NAME/pulls/$env:APPVEYOR_PULL_REQUEST_NUMBER\" -Headers $headers -Method GET\n\n if($pr.user.login -eq \" nfbot\" -and $pr.body -like \" *[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 "
45
- - ps : " if($env:APPVEYOR_PULL_REQUEST_NUMBER -eq \"\" )\n {\n \n if($env:APPVEYOR_REPO_COMMIT_AUTHOR -eq \" nfbot\" -and $env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED -like \" *[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 }"
46
44
47
45
install :
48
46
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
You can’t perform that action at this time.
0 commit comments