Created
February 21, 2016 23:19
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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