Skip to content

Commit 5ca924a

Browse files
committed
Automatically tag files with version number with isRelease flag
1 parent da9069d commit 5ca924a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Plan/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ clean {
2121
}
2222

2323
allprojects {
24-
group = "com.djrapitops"
25-
version = "5.7-SNAPSHOT"
26-
2724
ext {
2825
majorVersion = "5"
2926
minorVersion = "7"
@@ -38,6 +35,9 @@ allprojects {
3835
fullVersionFilename = majorVersion + "." + minorVersion + "-build-" + buildVersion
3936
fullVersionSemantic = majorVersion + "." + minorVersion + "+build." + buildVersion
4037
}
38+
39+
group = "com.djrapitops"
40+
version = project.hasProperty("isRelease") ? "$fullVersionFilename" : "5.7-SNAPSHOT"
4141
}
4242

4343
subprojects {

0 commit comments

Comments
 (0)