2019-10-23 06:46:11 +01:00
|
|
|
# octo
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> Command-line tools for Octopus Deploy.
|
2019-10-23 06:46:11 +01:00
|
|
|
> More information: <https://octopus.com/docs/octopus-rest-api/octo.exe-command-line>.
|
|
|
|
|
|
|
|
- Create a package:
|
|
|
|
|
|
|
|
`octo pack --id={{package_name}}`
|
|
|
|
|
|
|
|
- Push a package to a repository on the Octopus server:
|
|
|
|
|
|
|
|
`octo push --package={{package_name}}`
|
|
|
|
|
|
|
|
- Create a release:
|
|
|
|
|
|
|
|
`octo create-release --project={{project_name}} --packageversion={{version}}`
|
|
|
|
|
|
|
|
- Deploy a release:
|
|
|
|
|
|
|
|
`octo deploy-release --project={{project_name}} --packageversion={{version}} --deployto={{environment_name}} --tenant={{deployment_target}}`
|