Skip to content

Commit b40b8f7

Browse files
committed
Updated build script to parse correct version number
1 parent 3d96b47 commit b40b8f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ subprojects {
2828
ext.targetSdkVer = 24
2929
ext.supportLibVer = "24.0.0"
3030

31-
ext.versionName = "0.3.02"
32-
ext.versionCode = 11
31+
ext.versionName = "0.3.04"
32+
ext.versionCode = 12
3333
}

scripts/github-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ GITHUB_UPLOAD_URL="https://uploads.github.com/repos/stealthcopter/AndroidNetwork
1818

1919
function create_github_release {
2020

21-
version=`cat $1/build.gradle | grep -m 1 versionName | cut -d'"' -f 2`
21+
version=`cat build.gradle | grep -m 1 versionName | cut -d'"' -f 2`
2222

2323
echo "Uploading release"
2424

0 commit comments

Comments
 (0)