Skip to content

Instantly share code, notes, and snippets.

@ducke
Last active October 1, 2015 19:42
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 ducke/1c5bd2bb25f9c162da92 to your computer and use it in GitHub Desktop.
Save ducke/1c5bd2bb25f9c162da92 to your computer and use it in GitHub Desktop.
Teamcity octo pack
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