Skip to content

Commit

Permalink
fix discord output
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlll08 committed Dec 20, 2023
1 parent 0bfc050 commit b8d3f96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ plugins {
version = GMUtils.updatingVersion(Versions.MOD)

tasks.create("postDiscord") {

val taskName = "publishCurseForge"
doLast {
dependsOn(project(":fabric").tasks.getByName(taskName), project(":forge").tasks.getByName(taskName), project(":neoforge").tasks.getByName(taskName))
try {

// Create a new webhook instance for Discord
Expand Down
1 change: 1 addition & 0 deletions neoforge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ tasks.create<TaskPublishCurseForge>("publishCurseForge") {
mainFile.releaseType = Constants.RELEASE_TYPE_RELEASE
mainFile.addJavaVersion("Java ${Versions.JAVA}")
mainFile.addGameVersion(Versions.MINECRAFT)
mainFile.addModLoader("NeoForge")

doLast {
project.ext.set("curse_file_url", "${Properties.CURSE_HOMEPAGE}/files/${mainFile.curseFileId}")
Expand Down

0 comments on commit b8d3f96

Please sign in to comment.