Skip to content

Commit

Permalink
fix(build): trim string read from version.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
chachako committed Dec 8, 2023
1 parent bb6042b commit 649efae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ allprojects {
version = rootProject.layout.projectDirectory
.file("version.txt").asFile
.readText()
.trim()
.plus(if (isSnapshot) "-SNAPSHOT" else "")

project.configureAndroid()
Expand Down

0 comments on commit 649efae

Please sign in to comment.