File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ android {
88 minSdkVersion 10
99 targetSdkVersion 22
1010 versionCode 1
11- versionName " 0.0.1 "
11+ versionName " 0.1.0 "
1212 }
1313 buildTypes {
1414 release {
Original file line number Diff line number Diff line change 2323# VALIDATE CLIENT VERSIONS #
2424# #############################
2525
26- VERSION=$( grep version pom.xml | head -2| tail -1| awk -F ' >' ' {print $2}' | awk -F ' <' ' {print $1}' | awk -F ' -' ' {print $1}' )
26+ # VERSION=$(grep version pom.xml |head -2|tail -1|awk -F '>' '{print $2}'|awk -F '<' '{print $1}'|awk -F '-' '{print $1}')
27+ VERSION=$( grep versionName library/build.gradle | awk ' {print $2}' | awk ' {split($0, a, "\"")}{print a[2]}' )
2728read -p " We are releasing $VERSION , is this correct? (press enter to continue) " DERP
2829if [[ ! -z $DERP ]]; then
2930 echo " Cancelling release, please update pom.xml to desired version"
You can’t perform that action at this time.
0 commit comments