Skip to content

Commit

Permalink
add minecraft version to gh release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaargolo committed May 27, 2021
1 parent 2be9fdc commit 7b749e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ task github(dependsOn: remapJar, group: "upload") {
def github = GitHub.connectUsingOAuth(ENV.GITHUB_TOKEN as String)
def repository = github.getRepository(ENV.GITHUB_REPOSITORY)

def releaseBuilder = new GHReleaseBuilder(repository, version as String)
def releaseBuilder = new GHReleaseBuilder(repository, project.minecraft_version+"-"+project.mod_version as String)
releaseBuilder.name(RELEASE_NAME)
releaseBuilder.body(getChangeLog())
releaseBuilder.commitish(getBranch())
Expand Down

0 comments on commit 7b749e0

Please sign in to comment.