Skip to content

Commit

Permalink
Remove remaining mod_build_version references
Browse files Browse the repository at this point in the history
  • Loading branch information
Adubbz committed Nov 19, 2023
1 parent 3d88ae7 commit 7a360ee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
7 changes: 3 additions & 4 deletions Fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ plugins {
}

base.archivesName.set("${mod_name}-fabric")
def mod_build_version = "${mod_version}.${System.getenv().BUILD_NUMBER}"

dependencies {
minecraft "com.mojang:minecraft:${minecraft_version}"
Expand Down Expand Up @@ -41,7 +40,7 @@ processResources {
inputs.property "version", project.version

filesMatching("fabric.mod.json") {
expand "version": mod_build_version
expand "version": mod_version
}

filesMatching("${mod_id}.mixins.json") {
Expand Down Expand Up @@ -94,8 +93,8 @@ modrinth {
token = project.getProperty('modrinthToken')
}
projectId = "terrablender"
versionNumber = mod_build_version
versionName = mod_build_version + " for Fabric " + minecraft_version
versionNumber = mod_version
versionName = mod_version + " for Fabric " + minecraft_version
versionType = release_channel // can be release, beta, or alpha
uploadFile = remapJar
gameVersions = [minecraft_version]
Expand Down
5 changes: 2 additions & 3 deletions Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ plugins {


base.archivesName.set("${mod_name}-forge")
def mod_build_version = "${mod_version}.${System.getenv().BUILD_NUMBER}"

minecraft {
mappings channel: 'official', version: minecraft_version
Expand Down Expand Up @@ -115,8 +114,8 @@ modrinth {
token = project.getProperty('modrinthToken')
}
projectId = "terrablender"
versionNumber = mod_build_version
versionName = mod_build_version + " for Forge " + minecraft_version
versionNumber = mod_version
versionName = mod_version + " for Forge " + minecraft_version
versionType = release_channel // can be release, beta, or alpha
uploadFile = jar
gameVersions = [minecraft_version]
Expand Down
5 changes: 2 additions & 3 deletions NeoForge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ plugins {
}

base.archivesName.set("${mod_name}-neoforge")
def mod_build_version = "${mod_version}.${System.getenv().BUILD_NUMBER}"

minecraft {
mappings {
Expand Down Expand Up @@ -92,8 +91,8 @@ modrinth {
token = project.getProperty('modrinthToken')
}
projectId = "terrablender"
versionNumber = mod_build_version
versionName = mod_build_version + " for NeoForge " + minecraft_version
versionNumber = mod_version
versionName = mod_version + " for NeoForge " + minecraft_version
versionType = release_channel // can be release, beta, or alpha
uploadFile = jar
gameVersions = [minecraft_version]
Expand Down

0 comments on commit 7a360ee

Please sign in to comment.