blob: aa08990eb546b0d424be64aa3b334c2356f5d49b [file] [log] [blame]
#!/bin/bash
git_branch=`git rev-parse --abbrev-ref HEAD`
if [ "$git_branch" != "master" ]; then
echo "You must run this from master!"
exit 1
fi
./gradlew clean lottie:assembleRelease lottie-compose:assembleRelease lottie:publish lottie-compose:publish -DORG_GRADLE_PROJECT_mavenCentralUsername="${SONATYPE_USERNAME}" -DORG_GRADLE_PROJECT_mavenCentralPassword="${SONATYPE_PASSWORD}" --rerun-tasks --no-parallel --no-configuration-cache