Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created February 21, 2016 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PlagueHO/3da1dec0d56d7e1e3650 to your computer and use it in GitHub Desktop.
Save PlagueHO/3da1dec0d56d7e1e3650 to your computer and use it in GitHub Desktop.
The Deploy_Script component of the AppVeyor.yml for packaging the devcon.portable Chocolatey package.
Set-Location -Path .\devcon.portable\
(Get-Content '.\devcon.portable.nuspec' -Raw).Replace("<version>1.0</version>", "<version>$($env:APPVEYOR_BUILD_VERSION)</version>") | Out-File '.\devcon.portable.nuspec'
cpack
Push-AppveyorArtifact ".\devcon.portable.$($ENV:APPVEYOR_BUILD_VERSION).nupkg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment