Skip to content

Commit

Permalink
Use maven badges for the readme version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Peal committed Aug 11, 2018
1 parent 76b76e7 commit d45382f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Gradle is the only supported build configuration, so just add the dependency to

```groovy
dependencies {
implementation 'com.airbnb.android:lottie:2.5.5'
implementation 'com.airbnb.android:lottie:$lottieVersion'
}
```
The latest Lottie version is:
![lottieVersion](https://maven-badges.herokuapp.com/maven-central/com.airbnb.android/lottie/badge.svg)
2 changes: 0 additions & 2 deletions version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ sed -i '' "s/ versionCode .*/ versionCode $versionCode/" LottieSample/buil

sed -i '' "s/VERSION_NAME=.*/VERSION_NAME=$1/" gradle.properties

sed -i '' "s/ compile 'com[.]airbnb[.]android[:]lottie[:].*'/ compile 'com\.airbnb\.android\:lottie\:$1'/" README.md

git add -A
git commit -m "v$1"
git tag "v$1"
Expand Down

0 comments on commit d45382f

Please sign in to comment.