We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2354340 commit 3611b25Copy full SHA for 3611b25
1 file changed
build.gradle.kts
@@ -7,9 +7,13 @@ plugins {
7
`maven-publish`
8
}
9
10
+val baseVersion = "0.0.1"
11
+val commitHash = System.getenv("COMMIT_HASH")
12
+val snapshotversion = "${baseVersion}-dev.$commitHash"
13
+
14
allprojects {
15
group = "app.simplecloud.plugin.command"
- version = "0.0.1"
16
+ version = if (commitHash != null) snapshotversion else baseVersion
17
18
repositories {
19
mavenCentral()
0 commit comments