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


cd ..
./gradlew clean
./gradlew cleanUpBuilds
./gradlew test
./gradlew increaseBuildVersion

./gradlew assembleRelease
#./gradlew assembleDebug
./gradlew bundleRelease


./gradlew copyAllBundles
./gradlew clean
./gradlew createGitReleaseTag
