Skip to content

Commit

Permalink
check alpha version
Browse files Browse the repository at this point in the history
  • Loading branch information
plusls committed Nov 13, 2021
1 parent 82fa8ee commit 0ddac23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ String real_version = "${project.mod_version}"

String getGitMetadata() {
String ret = grgit.head().abbreviatedId
if (!grgit.status().clean) {
if (!grgit.status().clean && project.pre_release == "alpha") {
ret = new Date().format('yyyyMMdd.HHmmss') + ".dirty." + ret
}
return ret
Expand Down

0 comments on commit 0ddac23

Please sign in to comment.