[hotfix][travis] deploy snapshots only for master branch
Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/1dee62b4 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/1dee62b4 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/1dee62b4 Branch: refs/heads/tableOnCalcite Commit: 1dee62b4b691fe29f6975844366b7328cf6c41d3 Parents: edae793 Author: Maximilian Michels <[email protected]> Authored: Fri Feb 12 11:28:52 2016 +0100 Committer: Maximilian Michels <[email protected]> Committed: Fri Feb 12 11:30:36 2016 +0100 ---------------------------------------------------------------------- tools/deploy_to_maven.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/1dee62b4/tools/deploy_to_maven.sh ---------------------------------------------------------------------- diff --git a/tools/deploy_to_maven.sh b/tools/deploy_to_maven.sh index 8ace5aa..b2c6cce 100755 --- a/tools/deploy_to_maven.sh +++ b/tools/deploy_to_maven.sh @@ -72,7 +72,7 @@ pwd # Check if push/commit is eligible for deploying echo "Job: $TRAVIS_JOB_NUMBER ; isPR: $TRAVIS_PULL_REQUEST ; repo slug : $TRAVIS_REPO_SLUG " -if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_REPO_SLUG == "apache/flink" ]] ; then +if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_REPO_SLUG == "apache/flink" ]] && [[ $TRAVIS_BRANCH == "master" ]] ; then echo "install lifecylce mapping fake plugin" git clone https://github.com/mfriedenhagen/dummy-lifecycle-mapping-plugin.git
