Step to ZIP a directory and then export the path as an environment variable

From @viktorbenei on Fri Dec 30 2016 06:38:44 GMT-0500 (EST)

Inputs would be the target directory path (to compress) and the path where the zip file should be placed.

Output is an environment variable to that path, although this might not be required as you can provide the zip file path (input) as an env var too.

Copied from original issue: Step to ZIP a directory and then export the path as an environment variable 路 Issue #31 路 bitrise-io/bitrise-contrib 路 GitHub

From @viktorbenei on Fri Dec 30 2016 06:55:12 GMT-0500 (EST)

Additional input: should the directory itself be part of the zip, or only the content of the directory.

Hi @viktorbenei I have had a go at implementing this: https://github.com/bitrise-io/bitrise-steplib/pull/1804

Cheers, Dan