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:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`octo pack --id={{package}}`
|
2019-10-23 06:46:11 +01:00
|
|
|
|
|
|
|
- Push a package to a repository on the Octopus server:
|
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`octo push --package={{package}}`
|
2019-10-23 06:46:11 +01:00
|
|
|
|
|
|
|
- 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}}`
|