diff --git a/build.gradle b/build.gradle index e50be5c2f..4125ee2b0 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ plugins { allprojects { group 'com.velocitypowered' - version '1.0.0-SNAPSHOT' + version '1.0.0' sourceCompatibility = 1.8 targetCompatibility = 1.8 diff --git a/proxy/build.gradle b/proxy/build.gradle index 64b858350..54ddc7b86 100644 --- a/proxy/build.gradle +++ b/proxy/build.gradle @@ -13,7 +13,12 @@ apply plugin: 'com.github.johnrengelman.shadow' jar { manifest { def buildNumber = System.getenv("BUILD_NUMBER") ?: "unknown" - def version = "${project.version} (git-${project.ext.getCurrentShortRevision()}-b${buildNumber})" + def version + if (project.version.endsWith("-SNAPSHOT")) { + version = "${project.version} (git-${project.ext.getCurrentShortRevision()}-b${buildNumber})" + } else { + version = "${project.version}" + } attributes 'Main-Class': 'com.velocitypowered.proxy.Velocity' attributes 'Implementation-Title': "Velocity"