aboutsummaryrefslogtreecommitdiff
path: root/extras/packaging
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2018-09-15 12:31:43 +0100
committerMarco Poletti <poletti.marco@gmail.com>2018-09-15 12:31:43 +0100
commit03ef814a72c3a09b630eec1e6d343610f990f601 (patch)
tree05a3816ba73acc8258325a0536beba8f3eb05e8c /extras/packaging
parent5c43c9b07eeddd1ab8d187c801c8f086c72777b6 (diff)
downloadgoogle-fruit-03ef814a72c3a09b630eec1e6d343610f990f601.tar.gz
Add a script to deploy Fruit as a Conan package to Bintray.
Diffstat (limited to 'extras/packaging')
-rw-r--r--extras/packaging/deploy_to_bintray.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/extras/packaging/deploy_to_bintray.sh b/extras/packaging/deploy_to_bintray.sh
new file mode 100644
index 0000000..31a80c7
--- /dev/null
+++ b/extras/packaging/deploy_to_bintray.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+FRUIT_VERSION=3.4.0
+
+# To authenticate:
+# conan user -p <BINTRAY_API_KEY_HERE> -r fruit-bintray polettimarco
+
+for build_type in Release Debug
+do
+ for is_shared in True False
+ do
+ for use_boost in True False
+ do
+ conan create . google/stable -o fruit:shared=$is_shared -o fruit:use_boost=$use_boost -s build_type=$build_type
+ done
+ done
+done
+
+conan remote update fruit-bintray https://api.bintray.com/conan/google/fruit
+conan upload fruit/${FRUIT_VERSION}@google/stable --all -r fruit-bintray