Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Outline

Zally Command Line Interface

This is Zally's cli tool: it reads a swagger file locally and lints it by requesting violations check at a given Zally server.

Build

  1. Follow Go installation instructions

  2. Make sure that $GOPATH variable is set (and $GOROOT if necessary)

  3. Clone the repository:

    git clone git@github.com:zalando/zally.git
  4. Run tests:

    cd zally/cli/zally
    GO111MODULE=on ./test.sh
  5. Build the binary:

    go build

Release it

  1. Install goreleaser tool:

    go get -v github.com/goreleaser/goreleaser

    Alternatively you can download a latest release from goreleaser Releases Page

  2. Clean up folder cli/zally/dist if exists

  3. Make sure that the repository state is clean:

    git status
  4. Tag the release:

    git tag v1.1.0
  5. Run goreleaser:

    cd cli/zally
    goreleaser release --skip-publish
  6. Check builds inside cli/zally/dist directory.

  7. Publish release tag to GitHub:

    git push origin v1.1.0
Morty Proxy This is a proxified and sanitized view of the page, visit original site.