diff --git a/appveyor.yml b/appveyor.yml index 8308727..93b1145 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,6 +16,7 @@ before_build: - ps: $root = $env:APPVEYOR_BUILD_FOLDER - ps: Import-PfxCertificate -FilePath $root'\Symlink Creator\key.pfx' -CertStoreLocation cert:\CurrentUser\My -Password $psw build_script: -- msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Publish /p:ApplicationVersion=%APPVEYOR_BUILD_VERSION% +- ps: msbuild /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /t:Publish /p:ApplicationVersion="$env:APPVEYOR_BUILD_VERSION" /p:Configuration=Release /p:Platform="Any CPU" after_build: -- ps: $root = Resolve-Path '.\Symlink Creator\bin\Debug\app.publish'; [IO.Directory]::GetFiles($root.Path, '*.*', 'AllDirectories') | % { Push-AppveyorArtifact $_ -FileName $_.Substring($root.Path.Length + 1) -DeploymentName to-publish } \ No newline at end of file +- ps: $root = Resolve-Path '.\Symlink Creator\bin\Release\app.publish'; [IO.Directory]::GetFiles($root.Path, '*.*', 'AllDirectories') | % { Push-AppveyorArtifact $_ -FileName $_.Substring($root.Path.Length + 1) -DeploymentName to-publish } +