Skip to content

Commit

Permalink
Revert "feat: auto versionName"
Browse files Browse the repository at this point in the history
This reverts commit e91656a.
  • Loading branch information
paulcoding810 committed Dec 2, 2024
1 parent e91656a commit 647a59f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ android {
namespace = "com.paulcoding.hviewer"
compileSdk = 35

val latestTag = providers.exec {
commandLine = "git describe --tags --abbrev=0".split(' ')
}.standardOutput.asText.get().trim().replaceFirst("v", "")

defaultConfig {
applicationId = "com.paulcoding.hviewer"
minSdk = 26
targetSdk = 34
versionCode = 1
versionName = latestTag
versionName = "1.2.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down

0 comments on commit 647a59f

Please sign in to comment.