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

step
contrib-this-feature

#1

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: https://github.com/bitrise-io/bitrise-contrib/issues/31


#2

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.


#3

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

Cheers, Dan