Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.