Skip to content

Commit faf512f

Browse files
committed
Improve version formatting
1 parent c9262f7 commit faf512f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ allprojects {
128128
}
129129

130130

131-
132-
version = !versioning.info.dirty ? versioning.info.full : "${project.buildVer}-${project.beta_prefix}${project.beta_version}"
131+
GString tagVer = "${buildVer}${beta_prefix}${project.beta_version}"
132+
// If being worked on
133+
version = versioning.info.tag != null ? versioning.info.tag : "v${tagVer}-${versioning.info.branch}-${versioning.info.build}"
133134

134135

135136
processResources {

0 commit comments

Comments
 (0)