Created
June 6, 2016 12:41
-
-
Save timfanda35/c8a91a85dbdb251f8d197df3a53afdee to your computer and use it in GitHub Desktop.
Show android .aar version informations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xml=`unzip -p $1 AndroidManifest.xml` | |
echo $xml | grep -Eo "android:versionCode=\"[^\"]+\"" | |
echo $xml | grep -Eo "android:versionName=\"[^\"]+\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Developing in OSX, dependency by
unzip
usage:
aarv.sh library.aar
and result looks like: