@@ -16,7 +16,7 @@ configuration: Debug
1616# Scripts that run after cloning repository
1717install :
1818 - cmd : dotnet restore
19-
19+
2020environment :
2121 VERSION_SIMPLE : ' {version}'
2222 VERSION_INFORMATIONAL : ' {version}'
@@ -76,23 +76,23 @@ artifacts:
7676 name : NuGet_Files
7777
7878# Deploy to GitHub releases
79- deploy :
80- -
79+ deploy :
80+ -
8181 provider : GitHub
82- auth_token :
82+ auth_token :
8383 secure : 2+d0KgCbWQpUR8TZfzvUEzbi4NQP6F/Tt0PUwLn6jXZCyO8FnrFVFJPsFa0QBQFl
8484 artifact : NuGet_Files
8585 draft : false
8686 force_update : true
8787 prerelease : false
8888 release : " $(APPVEYOR_PROJECT_NAME) v$(APPVEYOR_REPO_TAG_NAME)"
8989 tag : $(APPVEYOR_REPO_TAG_NAME)
90- on :
90+ on :
9191 appveyor_repo_tag : true
9292
93- -
93+ -
9494 provider : NuGet
95- api_key :
95+ api_key :
9696 secure : i6oWn60J7ZOM4UuYcvxbuk9OAEp6or+Wq7izyJDPNlcLIhG2UKsxz7G/8erhdY3M
9797 artifact : NuGet_Files
9898 server : # remove to push to NuGet.org
@@ -116,7 +116,6 @@ after_deploy:
116116 "Content-type" = "application/json"
117117 }
118118 Invoke-RestMethod -Method Put "$apiUrl/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/settings/build-number" -Body '{"nextBuildNumber": 1 }' -Headers $headers
119-
120119 $env:APPVEYOR_REPO_TAG_NAME = $env:APPVEYOR_REPO_TAG_NAME.TrimStart("v")
121120 if ($env:APPVEYOR_REPO_TAG_NAME -match '^([0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?)$') {
122121 $tag_ver = [version]$env:APPVEYOR_REPO_TAG_NAME
@@ -139,7 +138,7 @@ after_test:
139138 # Install NuGet packages and tools
140139 nuget install OpenCover -Version 4.6.519 -OutputDirectory packages
141140 dotnet tool install coveralls.net --tool-path tools
142-
141+
143142 # Set variables
144143 .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:dotnet.exe -targetargs:"test tests" -register:user -filter:"+[*]* -[xunit*]* -[*Tests]* -[*]*.Logging.*" -excludedirs:"src\obj;src\Helpers;Helpers" -output:"tests\coverage.xml" -oldStyle
145144 .\tools\csmacnz.Coveralls.exe --opencover -i .\tests\coverage.xml --repoToken $env:COVERALLS_REPO_TOKEN --commitId $env:APPVEYOR_REPO_COMMIT --commitBranch $env:APPVEYOR_REPO_BRANCH --commitAuthor $env:APPVEYOR_REPO_COMMIT_AUTHOR --commitEmail $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL --commitMessage "$env:APPVEYOR_REPO_COMMIT_MESSAGE" --jobId $env:APPVEYOR_JOB_ID
0 commit comments