[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tcnksm/wercker-step-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wercker step zip MIT License

wercker status

This is wercker build step script to package your directories as .zip.

Usage

In the wercker.yml of your application use the following step definition:

steps:
   - tcnksm/zip:
     input: $WERCKER_OUTPUT_DIR/pkg
     output: $WERCKER_OUTPUT_DIR/dist

You must set input directory where directories you want to package are in and output directory where zip archeives will be generated. Both must be set as absolte path ($WERCKER_OUTPUT_PATH is built-in environmental valiable which is used for pass the artifacts between build step and deploy step).

Requirements

If you use wercker-box which is not installed zip, you need additional step:

steps:
    - script:
      name: install zip
      code: |
        sudo apt-get update -y
        sudo apt-get upgrade -y
        sudo apt-get install -y zip
    - tcnksm/zip
        input: "pkg"
        output: "dist"

Author

tcnksm

Releases

No releases published

Packages

No packages published

Languages