1 2 3 4 5 6
#!/bin/bash set -ev if [[ "${TRAVIS_COMMIT_MESSAGE}" = *"Release"* ]]; then cargo login $CARGO_LOGIN_KEY cargo publish fi