1#!/bin/bash 2git_branch=`git rev-parse --abbrev-ref HEAD` 3if [ "$git_branch" != "master" ]; then 4 echo "You must run this from master!" 5 exit 1 6fi 7./gradlew clean lottie:assembleRelease lottie-compose:assembleRelease lottie:publish lottie-compose:publish --rerun-tasks --no-parallel --no-configuration-cache --stacktrace 8