Skip to content

Commit

Permalink
More fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
babelshift committed Jun 29, 2017
1 parent e9553a4 commit 7583f6f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ before_build:
- cmd: nuget restore

after_build:
- ps: >-
- ps: >-
$xmlPath = "$env:appveyor_build_folder\ProPublicaCongressAPI\ProPublicaCongressAPI.csproj"
$xml = [xml](get-content $xmlPath)
$propertyGroup = $xml.Project.PropertyGroup | Where { $_.Version}
$propertyGroup.Version = $env:appveyor_build_version
$xml.Save($xmlPath)
msbuild %appveyor_build_folder%\ProPublicaCongressAPI\ProPublicaCongressAPI.csproj /t:pack
deploy:
Expand Down

0 comments on commit 7583f6f

Please sign in to comment.