diff --git a/build.gradle b/build.gradle index 87e02685..492bfbac 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ group = project.maven_group // Formats the mod version to include the Minecraft version and build number (if present) // example: 1.0.0+1.18.2-100 String buildNumber = System.getenv("GITHUB_RUN_NUMBER") -version = "${mod_version}+${minecraft_version}" + (buildNumber != null ? "-${buildNumber}" : "") +version = "${mod_version}+${minecraft_version}-fabric" + (buildNumber != null ? "-${buildNumber}" : "") repositories { maven { url = "https://maven.shedaniel.me/" } // Cloth Config, REI