#!/bin/bash -e
set -e
export JAVA_HOME=/Applications/Android\ Studio.app/Contents/jbr/Contents/Home


cd ..
./gradlew clean
./gradlew cleanUpBuilds
./gradlew test mergeAndroidReports
./gradlew increaseBuildVersion
./gradlew assembleRelease
./gradlew assembleDebug


./gradlew copyAllBundles
./gradlew clean
./gradlew createGitBuildTag