travis-ci / travis-conditions

Boolean language for conditional builds, stages, jobs
MIT License
20 stars 4 forks source link

Invalid 'echo' example in docs and CLI help #5

Closed ulope closed 6 years ago

ulope commented 6 years ago

The docs and CLI help both give the following as an example:

travis-conditions echo '{"branch": "master"}' | travis-conditions "branch = master"

Clearly, that is wrong and should instead be:

echo '{"branch": "master"}' | travis-conditions "branch = master"

(i.e. drop the first travis-conditions)

svenfuchs commented 6 years ago

thanks for the report @ulope

this will be addressed in https://github.com/travis-ci/travis-conditions/pull/12 and https://github.com/travis-ci/docs-travis-ci-com/pull/1978