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
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


To show the documentation in your terminal, run

fastlane action zip

View source code


Back to actions