xref: /aosp_15_r20/external/google-fruit/extras/packaging/deploy_to_bintray.sh (revision a65addddcf69f38db5b288d787b6b7571a57bb8f)
1#!/bin/bash
2
3FRUIT_VERSION=3.7.1
4
5# To authenticate:
6# conan user -p <BINTRAY_API_KEY_HERE> -r fruit-bintray polettimarco
7
8for build_type in Release Debug
9do
10    for is_shared in True False
11    do
12        for use_boost in True False
13        do
14            conan create . google/stable -o fruit:shared=$is_shared -o fruit:use_boost=$use_boost -s build_type=$build_type
15        done
16    done
17done
18
19conan remote update fruit-bintray https://api.bintray.com/conan/google/fruit
20conan upload fruit/${FRUIT_VERSION}@google/stable --all -r fruit-bintray
21