Skip to content

Commit 89df17d

Browse files
authored
Actually fix versioning issue
1 parent c969475 commit 89df17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LavalinkServer/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ String versionFromTag() {
8888

8989
// Uncommitted changes? -> should be SNAPSHOT
9090
// Also watch out for false positives in the CI build
91-
def clean = grgit.status().clean && System.getenv('CI') == null
91+
def clean = grgit.status().clean || System.getenv('CI') != null
9292

9393
if (!clean) {
9494
println("Git state is dirty, setting version as snapshot")

0 commit comments

Comments
 (0)