xref: /aosp_15_r20/external/lottie/upload_release.sh (revision bb5273fecd5c61b9ace70f9ff4fcd88f0e12e3f7)
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