From ce1f14a0105740415e636808e902365a8f1b153f Mon Sep 17 00:00:00 2001 From: SquidDev Date: Fri, 31 May 2019 13:56:48 +0100 Subject: [PATCH] Fix a couple of problems in the release buildscript Otherwise that went pretty smoothly! --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 1762d8e20..aa116fbe1 100644 --- a/build.gradle +++ b/build.gradle @@ -336,12 +336,12 @@ githubRelease { token project.hasProperty('githubApiKey') ? project.githubApiKey : '' owner 'SquidDev-CC' repo 'CC-Tweaked' - targetCommitish { Grgit.open(dir: '.').branch.current() } + targetCommitish { Grgit.open(dir: '.').branch.current().fullName } tagName "v${mc_version}-${mod_version}" releaseName "[${mc_version}] ${mod_version}" body { - "##" + new File("src/main/resources/assets/computercraft/lua/rom/help/whatsnew.txt") + "## " + new File("src/main/resources/assets/computercraft/lua/rom/help/whatsnew.txt") .readLines() .takeWhile { it != 'Type "help changelog" to see the full version history.' } .join("\n").trim()