Skip to content

Commit

Permalink
Include build number in Modrinth releases
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Sep 1, 2024
1 parent 8b54e46 commit 7925c9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion loader-fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ task publishCurseForge(type: TaskPublishCurseForge) {
modrinth {
token = secrets.modrinthKey;
projectId = "${modrinth_project_id}"
versionNumber = project.minecraft_version + '-' + project.mod_version
versionNumber = project.minecraft_version + '-' + project.version
versionName = "${project.version} for Fabric ${project.minecraft_version}"
versionType = secrets.build_number.equals("RELEASE") ? "release" : "beta"
uploadFile = remapJar
Expand Down
2 changes: 1 addition & 1 deletion loader-forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ task publishCurseForge(type: TaskPublishCurseForge) {
modrinth {
token = secrets.modrinthKey;
projectId = "${modrinth_project_id}"
versionNumber = project.minecraft_version + '-' + project.mod_version
versionNumber = project.minecraft_version + '-' + project.version
versionName = "${project.version} for Forge ${project.minecraft_version}"
versionType = secrets.build_number.equals("RELEASE") ? "release" : "beta"
uploadFile = jar
Expand Down
2 changes: 1 addition & 1 deletion loader-neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ task publishCurseForge(type: TaskPublishCurseForge) {
modrinth {
token = secrets.modrinthKey;
projectId = "${modrinth_project_id}"
versionNumber = project.minecraft_version + '-' + project.mod_version
versionNumber = project.minecraft_version + '-' + project.version
versionName = "${project.version} for NeoForge ${project.minecraft_version}"
versionType = secrets.build_number.equals("RELEASE") ? "release" : "beta"
uploadFile = jar
Expand Down

0 comments on commit 7925c9f

Please sign in to comment.