Skip to content

Commit

Permalink
Trying PS instead of CMD
Browse files Browse the repository at this point in the history
changing build configuration to Release and AnyCPU
  • Loading branch information
amd989 committed May 8, 2015
1 parent 6bdd6bb commit 33df645
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
- 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 }

0 comments on commit 33df645

Please sign in to comment.