Skip to content

Commit

Permalink
Fix modrinth in buildscript
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Dec 3, 2023
1 parent a485f6f commit f29293f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def changelogText = changelogFile.exists() && System.currentTimeMillis() - chang

modrinth {
token = project.hasProperty('modrinthKey') ? project.modrinthKey : System.getenv("MODRINTH_TOKEN")
projectId = 'clientcommands' // This can be the project ID or the slug. Either will work!
projectId = 'client-commands'
uploadFile = remapJar
gameVersions.set(project.minecraft_version_list.split('\\s*,\\s*').toList())
loaders.set(['fabric', 'quilt'])
Expand All @@ -110,7 +110,7 @@ tasks.modrinth.onlyIf {
githubRelease {
token(project.hasProperty('githubKey') ? project.githubKey : System.getenv("GITHUB_TOKEN"))
owner 'Earthcomputer'
repo "clientcommands"
repo 'clientcommands'
targetCommitish 'fabric'
releaseName "Version ${project.version} for Minecraft ${project.minecraft_version_list_presentable}"
body changelogText
Expand Down

0 comments on commit f29293f

Please sign in to comment.