Skip to content

Commit

Permalink
[Fix] Fix version when publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghai committed Jun 14, 2021
1 parent 4635851 commit 553dece
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android.enableJetifier=true
android.useAndroidX=true

GROUP=me.zhanghai.android.linenoise
VERSION=1.0.1
VERSION_NAME=1.0.1
VERSION_CODE=2

POM_DESCRIPTION=Linenoise for Android
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 21
targetSdkVersion 30
versionCode Integer.parseInt(VERSION_CODE)
versionName VERSION
versionName VERSION_NAME
consumerProguardFiles 'proguard-rules.pro'
}
compileOptions {
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 21
targetSdkVersion 30
versionCode Integer.parseInt(VERSION_CODE)
versionName VERSION
versionName VERSION_NAME
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down

0 comments on commit 553dece

Please sign in to comment.