Skip to content

Commit

Permalink
Fixed versioning hiccup.
Browse files Browse the repository at this point in the history
  • Loading branch information
stealthcopter committed Nov 15, 2017
1 parent 56ed4bd commit b5e77aa
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ android {
applicationId "com.stealthcotper.networktools"
minSdkVersion minSdkVer
targetSdkVersion targetSdkVer
versionCode versionCode
versionName versionName
versionCode 13
versionName "0.3.08"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ subprojects {
ext.targetSdkVer = 24
ext.supportLibVer = "24.0.0"

ext.versionName = "0.3.06"
ext.versionCode = 12
ext.versionName = "0.3.08"
ext.versionCode = 13
}
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion minSdkVer
targetSdkVersion targetSdkVer
versionCode versionCode
versionName versionName
versionCode 13
versionName "0.3.08"
}
buildTypes {
release {
Expand Down
2 changes: 1 addition & 1 deletion scripts/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function webhook {
app_name="$2"
message="$3"
git_hash=`git rev-parse --short HEAD`
version=`cat build.gradle | grep -m 1 versionName | cut -d'"' -f 2`
version=`cat ${gradle_app_name}/build.gradle | grep -m 1 versionName | cut -d'"' -f 2`

echo $message
echo $channel $gradle_app_name $app_name $version $ICON_URL
Expand Down
2 changes: 1 addition & 1 deletion scripts/github-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GITHUB_UPLOAD_URL="https://uploads.github.com/repos/stealthcopter/AndroidNetwork

function create_github_release {

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

echo "Uploading release"

Expand Down

0 comments on commit b5e77aa

Please sign in to comment.