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 {
8
8
minSdkVersion 10
9
9
targetSdkVersion 22
10
10
versionCode 1
11
- versionName " 0.0.1 "
11
+ versionName " 0.1.0 "
12
12
}
13
13
buildTypes {
14
14
release {
Original file line number Diff line number Diff line change 23
23
# VALIDATE CLIENT VERSIONS #
24
24
# #############################
25
25
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]}' )
27
28
read -p " We are releasing $VERSION , is this correct? (press enter to continue) " DERP
28
29
if [[ ! -z $DERP ]]; then
29
30
echo " Cancelling release, please update pom.xml to desired version"
You can’t perform that action at this time.
0 commit comments