Last active
October 1, 2015 19:42
-
-
Save ducke/1c5bd2bb25f9c162da92 to your computer and use it in GitHub Desktop.
Teamcity octo pack
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
try { | |
If (-not (choco list -l | Select-String -SimpleMatch 'octopustools' -Quiet)) { | |
throw 'No Chocolatey magig found. EXIT!' | |
} | |
$OctoPath = Join-Path $env:ChocolateyInstall bin | |
$OctoExe = Join-Path $OctoPath 'octo.exe' | |
$Args = '--help','pack','--id=','--include=','--basePath=','--outFolder=','--version=','--author=','--title=','--description=' | |
& $OctoExe $Args | |
} | |
catch { | |
throw 'No Chocolatey magig found. EXIT!' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment