1*a65addddSAndroid Build Coastguard Worker#!/bin/bash 2*a65addddSAndroid Build Coastguard Worker 3*a65addddSAndroid Build Coastguard WorkerFRUIT_VERSION=3.7.1 4*a65addddSAndroid Build Coastguard Worker 5*a65addddSAndroid Build Coastguard Worker# To authenticate: 6*a65addddSAndroid Build Coastguard Worker# conan user -p <BINTRAY_API_KEY_HERE> -r fruit-bintray polettimarco 7*a65addddSAndroid Build Coastguard Worker 8*a65addddSAndroid Build Coastguard Workerfor build_type in Release Debug 9*a65addddSAndroid Build Coastguard Workerdo 10*a65addddSAndroid Build Coastguard Worker for is_shared in True False 11*a65addddSAndroid Build Coastguard Worker do 12*a65addddSAndroid Build Coastguard Worker for use_boost in True False 13*a65addddSAndroid Build Coastguard Worker do 14*a65addddSAndroid Build Coastguard Worker conan create . google/stable -o fruit:shared=$is_shared -o fruit:use_boost=$use_boost -s build_type=$build_type 15*a65addddSAndroid Build Coastguard Worker done 16*a65addddSAndroid Build Coastguard Worker done 17*a65addddSAndroid Build Coastguard Workerdone 18*a65addddSAndroid Build Coastguard Worker 19*a65addddSAndroid Build Coastguard Workerconan remote update fruit-bintray https://api.bintray.com/conan/google/fruit 20*a65addddSAndroid Build Coastguard Workerconan upload fruit/${FRUIT_VERSION}@google/stable --all -r fruit-bintray 21