zip

Compress a file or folder to a zip

zip
Supported platforms ios, android, mac
Author @KrauseFx
Returns The path to the output zip file

3 Examples

zip
zip(
  path: "MyApp.app",
  output_path: "Latest.app.zip"
)
zip(
  path: "MyApp.app",
  output_path: "Latest.app.zip",
  verbose: false
)

Parameters

Key Description Default
path Path to the directory or file to be zipped
output_path The name of the resulting zip file
verbose Enable verbose output of zipped file true

* = default value is dependent on the user's system


To show the documentation in your terminal, run

fastlane action zip

View source code


Back to actions