Recursively compress files or directories into a ZIP archive, excludes GIT files by default.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
build:
box: ubuntu:latest
steps:
- bashaus/zip:
cwd: $WERCKER_ROOT/build
quiet: false
This step will install the ZIP package via apt-get
if it is not present;
however, you should try and make sure it is present in your application.
Define an expression for any files you want to exclude
- Since:
0.0.1
- Property is
Optional
- Recommended location:
Inline
Whether or not you would like to exclude GIT files (e.g.: .git
, .gitignore
).
- Since:
0.0.1
- Property is
Optional
- Recommended location:
Inline
- Default value is:
true
Validation
rules:- Must be either
true
,false
,1
or0
- Must be either
A space-separated list of files to compress.
- Since:
0.0.1
- Property is
Optional
- Recommended location:
Inline
- Default value is:
.
Any additional options that you want to pass to the ZIP executable.
- Since:
0.0.1
- Property is
Optional
- Recommended location:
Inline
The output ZIP file to be generated.
- Since:
0.0.1
- Property is
Optional
- Recommended location:
Inline
- Default value is:
$WERCKER_ROOT/$WERCKER_GIT_COMMIT.zip
Whether symlinks should be stored as symlinks (true) or if the destination should be copied (false).
- Since:
0.0.1
- Property is
Optional
- Recommended location:
Inline
- Default value is:
true
Validation
rules:- Must be either
true
,false
,1
or0
- Must be either
Whether or not to be quiet (true
) or verbose (false
) about the ZIP output.
- Since:
0.0.1
- Property is
Optional
- Recommended location:
Inline
- Default value is:
true
Validation
rules:- Must be either
true
,false
,1
or0
- Must be either