Octopus Deploy Documentation

octopus package zip create

Last updated

Create zip package

Usage:
  octopus package zip create [flags]

Flags:
      --id string           The ID of the package.
  -v, --version string      The version of the package, must be a valid SemVer.
      --base-path string    Root folder containing the contents to zip.
      --out-folder string   Folder into which the zip file will be written.
      --include strings     Add a file pattern to include, relative to the base path e.g. /bin/*.dll; defaults to "**".
      --verbose             Verbose output.
      --overwrite           Allow an existing package file of the same ID/version to be overwritten.


Global Flags:
  -h, --help                   Show help for a command
      --no-prompt              Disable prompting in interactive mode
  -f, --output-format string   Specify the output format for a command ("json", "table", or "basic") (default "table")
  -s, --space string           Specify the space for operations

Examples

Octopus Samples instance

Many of the examples we use, reference the samples instance of Octopus Deploy. If you'd like to explore the samples instance, you can log in as a guest.

$ octopus package zip create --id SomePackage --version 1.0.0


Learn more

Need support? We're here to help.