diff --git a/appveyor.yml b/appveyor.yml index 567afd200..c767822b8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,8 +2,6 @@ version: 0.10.{build} skip_tags: true image: - Ubuntu -environment: - APPVEYOR_YML_DISABLE_PS_LINUX: true configuration: Release assembly_info: patch: true @@ -20,12 +18,14 @@ dotnet_csproj: file_version: '{version}' informational_version: '{version}' build_script: -- ps: .\build.ps1 --target=Default +- ps: | + if ($isWindows) { + .\build.ps1 --target=Default + } - sh: ./build.sh --target=Linux test: off before_deploy: - ps: ${env:release_description} = ( Get-Content -LiteralPath BuildOutput/ReleaseNotes.txt -Encoding UTF8 ) -join "`n"; -- sh: release_description=$(cat BuildOutput/ReleaseNotes.txt) deploy: - provider: GitHub tag: v$(APPVEYOR_BUILD_VERSION)