You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
442 B
7 lines
442 B
#!/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 |