File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ branches:
4
4
- master
5
5
- /dev.*/
6
6
- /release.*/
7
+ - /v.*/
7
8
8
9
image : Visual Studio 2017
9
10
@@ -42,12 +43,13 @@ environment:
42
43
secure : E3bCMe4LtDdAhHSYRcLp0N6DixJe1m8TNxhYeJW/GnqM3WXdRqsgkHSbwootPjJQtOQJrps4twmzTVzofLSVgPgbzU8PxU0AkJV7zwkyVOE=
43
44
44
45
init :
45
- - git config --global core.autocrlf true
46
- - git config --global credential.helper store
47
- -
ps :
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GitHubToken):[email protected] `n"
48
- - git config --global user.email "%GitHubUserEmail%"
49
- - 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 "
46
+ - git config --global core.autocrlf true
47
+ - git config --global credential.helper store
48
+ -
ps :
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GitHubToken):[email protected] `n"
49
+ - git config --global user.email "%GitHubUserEmail%"
50
+ - git config --global user.name "%GitHubUserName%"
51
+ - 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 -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 "
52
+ - 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 }"
51
53
52
54
install :
53
55
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
98
100
branches :
99
101
only :
100
102
- master
103
+ - /v.*/
101
104
102
105
deploy :
103
106
- provider : NuGet
You can’t perform that action at this time.
0 commit comments